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
240 def validate
241   super
242   model.constraint_validations.each do |v|
243     # Allow calling private validation methods
244     send(*v)
245   end
246 end