Displaying 1 result from an estimated 1 matches for "last_run_at".
2006 Jul 06
4
update_all Not Incrementing lock_version
...rver_id"=>nil,
"running"=>"0", "poller_id"=>"10", "lock_version"=>"562",
"response_time"=>"8", "id"=>"10", "next_run_at"=>"2006-07-06 13:43:33",
"last_run_at"=>"2006-07-06 13:42:33", "late"=>"0.532686"}>]
>> puts jobs[0].running, jobs[0].lock_version
false
562
=> nil
>> Job.update_all([''running = ?'', true], [''id in (?)'', jobs.map { |j| j.id}])
=> 1
>>...