Mongoid backend for delayed_job
Ruby
Latest commit 91cb414 Sep 25, 2015 @sferik sferik Merge pull request #64 from dblock/patch-2
Copyright it to 2015 and add contributors?
Permalink
Failed to load latest commit information.
lib Silence mongoid logger for Mongoid 5. Sep 24, 2015
spec Modestly lower coverage threshold Sep 24, 2015
.gitignore
.rspec
.rubocop.yml Fix RuboCop offenses Dec 22, 2014
.travis.yml Support Mongoid 5.0 Sep 14, 2015
CHANGELOG.md Prepare for 2.2.0 release Sep 24, 2015
CONTRIBUTING.md Move "Contributing" section into dedicated document for better GitHub… Oct 7, 2012
Gemfile Silence mongoid logger for Mongoid 5. Sep 24, 2015
LICENSE.md Copyright it to 2015 and add contributors? Sep 24, 2015
README.md
Rakefile Run RuboCop on all platforms Jun 25, 2014
delayed_job_mongoid.gemspec Prepare for 2.2.0 release Sep 24, 2015

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.