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/sneakers_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/sneakers_adapter.rb')
-rw-r--r-- | lib/active_job/queue_adapters/sneakers_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_job/queue_adapters/sneakers_adapter.rb b/lib/active_job/queue_adapters/sneakers_adapter.rb index 6bb575e907..ebd794fca1 100644 --- a/lib/active_job/queue_adapters/sneakers_adapter.rb +++ b/lib/active_job/queue_adapters/sneakers_adapter.rb @@ -23,7 +23,7 @@ module ActiveJob include Sneakers::Worker def work(job, *args) - job.new.perform_with_deserialization *args + job.new.perform_with_hooks *args end end end |