I kept getting this error when I use delayed_job + Rails 3.1 + ActionMailer
Notifier.delay({:run_at => 1.minutes.from_now}).test_email
Error:
Class#test_email failed with NoMethodError: undefined method `test_email’ for Class:Class
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This was a bug with the most recent version of delayed_job. You can read more about how to fix it here: https://github.com/collectiveidea/delayed_job/issues/323#issuecomment-3496647