collectiveidea/delayed_job — Issue #358: Delayed job for object save succeeds but attribute values does not change.
Author: krdeepak
Created: 2012-02-23 09:03:08+00:00
State: open

I am trying to change the value of an attribute from console.
q = Question.find(1)
q.status #current status is 1
q.status = 2
q.delay.save

The delay_job task is created, and the worker picks it up.
2012-02-23T14:28:22+0530: [Worker(delayed_job host:wignitepc1 pid:3207)] Question#save completed after 0.0407
2012-02-23T14:28:22+0530: [Worker(delayed_job host:wignitepc1 pid:3207)] 1 jobs processed at 3.9814 j/s, 0 failed ...

The row is also removed from the delayed_jobs table

BUT, q.status in the database remains 1.