Method: Sequel::Plugins::ConstraintValidations::InstanceMethods#validate
- Defined in:
- lib/sequel/plugins/constraint_validations.rb
#validate ⇒ Object
Run all of the constraint validations parsed from the database when validating the instance.
249 250 251 252 253 254 255 |
# File 'lib/sequel/plugins/constraint_validations.rb', line 249 def validate super model.constraint_validations.each do |v| # Allow calling private validation methods send(*v) end end |