collectiveidea/delayed_job — Issue #325: Had to manually specify backend
Author: orangethunder
Created: 2011-12-31 20:03:44+00:00
State: open

This is with delayed_job 3.0.0 and delayed_job_active_record 0.3.0.

I had to put this in an initializer:

Delayed::Worker.backend = :active_record

Otherwise the Job constant never gets defined. Don't see this mentioned in the readme so I assume it's unexpected behaviour. The only weirdness I can think of in my project is the simultaneous use of ActiveRecord and Mongoid.