Module: Sequel::Plugins::Timestamps::InstanceMethods
- Defined in:
- lib/sequel/plugins/timestamps.rb
Instance Method Summary collapse
-
#before_create ⇒ Object
Set the create timestamp when creating.
-
#before_update ⇒ Object
Set the update timestamp when updating.
Instance Method Details
#before_create ⇒ Object
Set the create timestamp when creating
61 62 63 64 |
# File 'lib/sequel/plugins/timestamps.rb', line 61 def before_create super end |
#before_update ⇒ Object
Set the update timestamp when updating
67 68 69 70 |
# File 'lib/sequel/plugins/timestamps.rb', line 67 def before_update super end |