Module: Mongo::Model::Misc::ClassMethods
- Defined in:
- lib/mongo_db/model/misc.rb
Instance Method Summary collapse
Instance Method Details
#timestamps! ⇒ Object
28 29 30 31 |
# File 'lib/mongo_db/model/misc.rb', line 28 def attr_accessor :created_at, :updated_at before_save :update_timestamps end |