RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: djensen47
In Mongoid 2.0 (and I believe 2.0.1 as well) you need to include the following in your model if you're going to use Date or DateTime
include Mongoid::MultiParameterAttributes
Source: https://github.com/mongoid/mongoid/issues/30#issuecomment-1211911
In Mongoid 2.0 (and I believe 2.0.1 as well) you need to include the following in your model if you're going to use Date or DateTime
include Mongoid::MultiParameterAttributes
Source: https://github.com/mongoid/mongoid/issues/30#issuecomment-1211911