class

ActiveModel::EachValidator

v5.1.7 - Show latest stable - Superclass: Validator

EachValidator is a validator which iterates through the attributes given in the options hash invoking the validate_each method passing in the record, attribute and value.

All Active Model validations are built on top of this validator.

Attributes

[R]attributes

Files

  • activemodel/lib/active_model/validator.rb