We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delayed_job/lib/delayed/worker.rb
Line 119 in baed6e8
We are running a rack application (not Rails) that uses DelayedJob as well as loads in ActionDispatch i.e.
spec.add_dependency 'actionpack' spec.add_dependency 'delayed_job' ... require 'action_dispatch' require 'delayed_job'
The linked line of code causes our application to blow up because the Rails class is not defined.
Is there a reason why this is checking ActionDispatch::Reloader and not the Rails class constant itself?
ActionDispatch::Reloader
Rails
Perhaps it should check both are defined?
The text was updated successfully, but these errors were encountered:
Check Rails is defined before referring to Rails
f8fef93
Fixes issue collectiveidea#1145
No branches or pull requests
delayed_job/lib/delayed/worker.rb
Line 119 in baed6e8
We are running a rack application (not Rails) that uses DelayedJob as well as loads in ActionDispatch i.e.
The linked line of code causes our application to blow up because the Rails class is not defined.
Is there a reason why this is checking
ActionDispatch::Reloader
and not theRails
class constant itself?Perhaps it should check both are defined?
The text was updated successfully, but these errors were encountered: