-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
uninitialized constant ResqueDelay::DelayProxy::Resque
resque-delay (0.5.0) lib/resque_delay/message_sending.rb:13:in `method_missing'
It is an error that it can not find the document as you run Resque
I have a small piece of code to reproduce the same error.
require 'active_support/basic_object'
module Resque; end
class DelayProxy < ActiveSupport::BasicObject
def method_missing(method, *args)
Resque
end
end
DelayProxy.new.any_method
# test-ruby.rb:7:in `method_missing': uninitialized constant DelayProxy::Resque (NameError)
# from test-ruby.rb:11:in `<main>'
If you do not inherit the ActiveSupport::BasicObject or to ::Resque, the error is no longer I, but I do not know in the first place, or why Resque can no longer see.
Metadata
Metadata
Assignees
Labels
No labels