lib/good_job/execution.rb in good_job-2.9.4 vs lib/good_job/execution.rb in good_job-2.9.5

- old
+ new

@@ -265,10 +265,12 @@ def executable? self.class.unscoped.unfinished.owns_advisory_locked.exists?(id: id) end def active_job - ActiveJob::Base.deserialize(active_job_data) + ActiveJob::Base.deserialize(active_job_data).tap do |aj| + aj.send(:deserialize_arguments_if_needed) + end end private def active_job_data