Rails delayed_jobs don't run in a Rails context -


so have delayed_jobs getting enqueued , dequeued properly. problem when running them, either $ bundle exec rake jobs:work or $ script/delayed_job start, processing code doesn't load rails context, jobs don't processed unless manually add relevant requires environment.rb. neither clean nor sane, i'd figure out why runner doesn't seem loading full rails context. built on mongoid backend - hope have nothing situation, though. help?


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

jquery - How can I dynamically add a browser tab? -