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
66 67 68 69 |
# File 'lib/sequel/plugins/timestamps.rb', line 66 def before_create super end |
#before_update ⇒ Object
Set the update timestamp when updating
72 73 74 75 |
# File 'lib/sequel/plugins/timestamps.rb', line 72 def before_update super end |