Module: Mongoid::Timestamps::Updated
- Extended by:
- ActiveSupport::Concern
- Included in:
- Mongoid::Timestamps
- Defined in:
- lib/mongoid/timestamps/updated.rb
Overview
This module handles the behaviour for setting up document updated at timestamp.
Instance Method Summary collapse
-
#set_updated_at ⇒ Object
Update the updated_at field on the Document to the current time.