Module: Sequel::Plugins::ConstraintValidations::InstanceMethods
- Defined in:
- lib/sequel/plugins/constraint_validations.rb
Instance Method Summary collapse
-
#validate ⇒ Object
Run all of the constraint validations parsed from the database when validating the instance.
Instance Method Details
#validate ⇒ Object
Run all of the constraint validations parsed from the database when validating the instance.
220 221 222 223 224 225 |
# File 'lib/sequel/plugins/constraint_validations.rb', line 220 def validate super model.constraint_validations.each do |v| send(*v) end end |