Module: Ripple::Timestamps
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/ripple/timestamps.rb
Overview
Adds automatic creation and update timestamps to a Document model.
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#touch ⇒ Object
Sets the :updated_at attribute before saving the document.