aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_job/queue_adapters/sneakers_adapter.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2014-05-22 19:33:23 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2014-05-22 19:33:23 +0200
commitc073ba339a6820625718f7320989cfa527534563 (patch)
treebcc70b5fcb6103f285659762b0670beabb598e19 /lib/active_job/queue_adapters/sneakers_adapter.rb
parentf82bc7e5515d439b5125d7596b56563249b2d83e (diff)
downloadrails-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.rb2
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