class EachValidator

Ruby on Rails 3.2.22.5

Since v3.0.20

Available in: v3.0.20 v3.1.12 v3.2.22.5 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

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.

Inherits from

ActiveModel::Validator

Attributes

Methods (defined here)

Used by

Subclasses (3)

Methods (inherited)

From ActiveModel::Validator (4)
From Object (18)

Type at least 2 characters to search.

↑↓ navigate · open · esc close