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
244 def validate
245   super
246   model.constraint_validations.each do |v|
247     # Allow calling private validation methods
248     send(*v)
249   end
250 end