Skip to content
Mongoid backend for delayed_job
Ruby
Pull request Compare This branch is 3 commits ahead, 50 commits behind collectiveidea:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Gemfile
LICENSE.md
README.md
Rakefile
delayed_job_mongoid.gemspec

README.md

DelayedJob Mongoid backend

Gem Version Build Status Dependency Status Code Climate Coverage Status

Requirements

Make sure you are using MongoDB version 1.3 or newer. delayed_job_mongoid uses the findandmodify command which is only available in recent versions.

Installation

Add the gem to your Gemfile:

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'

To generate script/delayed_job:

rails generate delayed_job

That's it. Use delayed_job as normal.

Something went wrong with that request. Please try again.