Public Instance methods
before_update()
Set the update timestamp when updating
[show source]
# File lib/sequel/plugins/timestamps.rb 74 def before_update 75 set_update_timestamp 76 super 77 end
before_validation()
Set the create timestamp when creating
[show source]
# File lib/sequel/plugins/timestamps.rb 80 def before_validation 81 set_create_timestamp if new? 82 super 83 end