mongoid/mongoid — Issue #1759: Mongoid gem > 2.4.1 conflicts with delayed_job
Author: alexnorthsoul
Created: 2012-02-24 17:23:36+00:00
State: open

Delayed_job worker can not perform jobs on system with mongoid version newer than 2.4.1 (2.4.1 works fine)
It says: "Defining a field named delay is not allowed"

delayed_job (3.0.1)
delayed_job_mongoid (1.0.8)
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]

Part of stack trace:
{Defining a field named delay is not allowed. Do not define fields that conflict with Mongoid internal attributes or method names. Use Mongoid.destructive_fields to see what names this includes.\n/home/kriger/.rvm/gems/ruby-1.9.2-p290@rails3/gems/mongoid-2.4.5/lib/mongoid/fields.rb:328:in `check_field_name!'\n/home/kriger/.rvm/gems/ruby-1.9.2-p290@rails3/gems/mongoid-2.4.5/lib/mongoid/fields.rb:192: