Mongoid backend for delayed_job
Clone or download
Latest commit b8dd0ed Jun 8, 2018

DelayedJob Mongoid backend

Gem Version Build Status Code Climate Coverage Status


Mongoid 3, 4, 5 or 6.


Add the gem to your Gemfile:

gem 'delayed_job_mongoid'

Create the indexes (and don't forget to do this on your production database):

script/rails runner 'Delayed::Backend::Mongoid::Job.create_indexes'

To generate script/delayed_job:

rails generate delayed_job

That's it. Use delayed_job as normal.