module Sequel::Plugins::ConstraintValidations::InstanceMethods

  1. lib/sequel/plugins/constraint_validations.rb

Methods

Public Instance

  1. validate

Public Instance methods

validate()

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

[show source]
    # 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