diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2014-05-22 19:33:23 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2014-05-22 19:33:23 +0200 |
commit | c073ba339a6820625718f7320989cfa527534563 (patch) | |
tree | bcc70b5fcb6103f285659762b0670beabb598e19 /lib/active_job/queue_adapters/delayed_job_adapter.rb | |
parent | f82bc7e5515d439b5125d7596b56563249b2d83e (diff) | |
download | rails-c073ba339a6820625718f7320989cfa527534563.tar.gz rails-c073ba339a6820625718f7320989cfa527534563.tar.bz2 rails-c073ba339a6820625718f7320989cfa527534563.zip |
Add callbacks, implement instrumentation as callbacks, and have the enqueue methods return a job instance
Diffstat (limited to 'lib/active_job/queue_adapters/delayed_job_adapter.rb')
-rw-r--r-- | lib/active_job/queue_adapters/delayed_job_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_job/queue_adapters/delayed_job_adapter.rb b/lib/active_job/queue_adapters/delayed_job_adapter.rb index 5a9c4c708d..fa08d779fb 100644 --- a/lib/active_job/queue_adapters/delayed_job_adapter.rb +++ b/lib/active_job/queue_adapters/delayed_job_adapter.rb @@ -15,7 +15,7 @@ module ActiveJob class JobWrapper def perform(job, *args) - job.new.perform_with_deserialization *args + job.new.perform_with_hooks *args end end end |