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
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