Method: Sequel::Plugins::Timestamps::InstanceMethods#before_validation
- Defined in:
- lib/sequel/plugins/timestamps.rb
#before_validation ⇒ Object
Set the create timestamp when creating
80 81 82 83 |
# File 'lib/sequel/plugins/timestamps.rb', line 80 def before_validation if new? super end |