yoda / delayed_job_mongoid

Mongoid backend for delayed_job

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

delayed_job Mongoid backend

Installation

Add the gems to your Gemfile:

gem 'delayed_job'
gem 'delayed_job_mongoid'

After running bundle install, create the indexes (and don't forget to do this on your production database):

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

That's it. Use delayed_job as normal.

About

Mongoid backend for delayed_job

License:MIT License