delayed_job_active_record - ActiveRecord backend integration for DelayedJob 3.0+
PostgreSQL 8.4 だと UPDATE のサブクエリが使えないのでノーマルな方法(ただし遅い)でジョブのロックをします。
Problems locking jobs
You can try using the legacy locking code. It is usually slower but works better for certain people.
Delayed::Backend::ActiveRecord.configuration.reserve_sql_strategy = :default_sql














