Hey Guys,
I started to use DelayedJob Gem today and I'm trying to execute this line in the console, to send me a delayed emaill.
RemainderMailer.delay(run_at: 1.minute.from_now).order_checkpoint(Remainder.last).deliver
but I'm getting the following error.
Remainder Load (0.3ms) SELECT "remainders".* FROM "remainders" ORDER BY "remainders"."id" DESC LIMIT $1 [["LIMIT", 1]]
/home/john/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activemodel-7.0.3.1/lib/active_model/attribute_methods.rb:458:in `method_missing': undefined method `cron_changed?' for #<Delayed::Backend::ActiveRecord::Job id: nil, priority: 0, attempts: 0, handler: "--- !ruby/object:Delayed::PerformableMailer\nobject...", last_error: nil, run_at: "2022-08-28 01:47:29.293303000 -0500", locked_at: nil, failed_at: nil, locked_by: nil, queue: nil, created_at: nil, updated_at: nil> (NoMethodError) Did you mean? changed?
Please help me out, I'm starting a new proyect with Rails 7.0.3 and Ruby 3.1.2
Thanks,
JohnB