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
249 def validate
250   super
251   model.constraint_validations.each do |v|
252     # Allow calling private validation methods
253     send(*v)
254   end
255 end