Fix rake db:init.
This is kind of a hack and I'm not sure why it's undefined in the Rake task because it works when running the app, and #{field}_changed? is defined by Mongoid as part of its dirty tracking implementation.
Showing
Please
register
or
sign in
to comment