Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

djensen47's Profile

GitHub User: djensen47

Comments by

Avatar

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