5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-25 04:16:21 +00:00

fixup! fixup! fix: serializar correctamente

This commit is contained in:
f 2024-03-13 16:28:59 -03:00
parent ad9f9c3d61
commit 630f6b31fc
No known key found for this signature in database

View file

@ -4,7 +4,7 @@ class FixFetchJobs < ActiveRecord::Migration[6.1]
def up
QueJob.where("last_error_message like '%ActiveJob::DeserializationError%'").find_each do |job|
job.error_count = 0
job.run_at = time.now
job.run_at = Time.now
job.args.first['arguments'].first['_aj_ruby2_keywords'].delete('object')
job.args.first['arguments'].first['_aj_ruby2_keywords'] << 'object_id'