Module: Sequel::Plugins::Timestamps::InstanceMethods
- Defined in:
- lib/sequel/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
53 54 55 56 |
# File 'lib/sequel/lib/sequel/plugins/timestamps.rb', line 53 def before_create super end |
#before_update ⇒ Object
Set the update timestamp when updating
59 60 61 62 |
# File 'lib/sequel/lib/sequel/plugins/timestamps.rb', line 59 def before_update super end |