module Sequel::Plugins::ConstraintValidations::InstanceMethods

Public Instance Methods

validate() click to toggle source

Run all of the constraint validations parsed from the database when validating the instance.

Calls superclass method
    # File lib/sequel/plugins/constraint_validations.rb
241 def validate
242   super
243   model.constraint_validations.each do |v|
244     # Allow calling private validation methods
245     send(*v)
246   end
247 end