Module: Mongoid::Timestamps::InstanceMethods
- Defined in:
- lib/mongoid/timestamps.rb
Instance Method Summary collapse
-
#set_created_at ⇒ Object
Update the created_at field on the Document to the current time.
-
#set_updated_at ⇒ Object
Update the updated_at field on the Document to the current time.