Permalink
Browse files

Fix message sending in Ruby 1.9

Closes #66
  • Loading branch information...
1 parent 3c7fa7c commit 92e71ee22e0c29e7a623f7cdab890a4357f67858 @bkeepers bkeepers committed May 14, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/delayed/message_sending.rb
@@ -8,8 +8,8 @@ def initialize(target, options)
end
def method_missing(method, *args)
- Delayed::Job.create @options.merge(
- :payload_object => Delayed::PerformableMethod.new(@target, method.to_sym, args)
+ Job.create @options.merge(
+ :payload_object => PerformableMethod.new(@target, method.to_sym, args)
)
end
end

0 comments on commit 92e71ee

Please sign in to comment.