class EachValidator
Ruby on Rails 7.0.10
Since v3.0.20EachValidator 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
Attributes
Methods (defined here)
- # check_validity!
- # validate
- # validate_each
- self. new
Private methods
(1)
Implementation detail — not part of the public API.
Methods (inherited)
From ActiveModel::Validator (4)
From Object (16)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # with_options
From ActiveRecord::TestFixtures (4)
From ActiveSupport::Concern (3)
- # class_methods
- # included
- # prepended