I'm trying to use delayed job for the first time in my rails 3 app.
I have a method that looks something like this, which calls a long running method which I want to put into the delayed job queue.
def complete_order()
self.paid_at = Time.now
self.delay.long_running_stuff
end
The result of running this method is an entry in my delayed_jobs table with a NULL
value in the handler
field.
I have no idea why and can't think of how to debug this. Any ideas why?