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
Ref: #323 undefined method `update_job' for #Document:0x0000000006986358
I am trying to implement delayed_job for a data updation on a rails 5.0.6 app on staging with ruby 2.4.4 .
Following the documentation I am making the delay call from my controller as follows:
after_create :update_job
def update_job end handle_asynchronously :do_cal
This causes the task to be added to the job table but when I run rake jobs:work it logs the following error:
Class#update_job failed with NoMethodError: undefined method `update_job' for Class:Class - 6 failed attempts
Here is my delayed job entry #<Delayed::Backend::ActiveRecord::Job id: 162, priority: 0, attempts: 1, handler: “--- !ruby/object:Delayed::PerformableMethod\nobject...“, last_error: “undefined method update_job' for #<Document
update_job' for #<Document
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ref: #323
undefined method `update_job' for #Document:0x0000000006986358
I am trying to implement delayed_job for a data updation on a rails 5.0.6 app on staging with ruby 2.4.4 .
Following the documentation I am making the delay call from my controller as follows:
after_create :update_job
def update_job
end
handle_asynchronously :do_cal
This causes the task to be added to the job table but when I run rake jobs:work it logs the following error:
Class#update_job failed with NoMethodError: undefined method `update_job' for Class:Class - 6 failed attempts
Here is my delayed job entry
#<Delayed::Backend::ActiveRecord::Job id: 162, priority: 0, attempts: 1, handler: “--- !ruby/object:Delayed::PerformableMethod\nobject...“, last_error: “undefined method
update_job' for #<Document
The text was updated successfully, but these errors were encountered: