instance method validate_each

Ruby on Rails 3.2.22.5

Since v3.0.20 Last seen in v3.2.22.5 Private

Available in: v3.0.20 v3.1.12 v3.2.22.5

Signature

validate_each(record, attribute, value)

No documentation comment.

Parameters

record req
attribute req
value req
Source
# File activemodel/lib/active_model/validator.rb, line 180
    def validate_each(record, attribute, value)
      @block.call(record, attribute, value)
    end

Defined in activemodel/lib/active_model/validator.rb line 180 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveModel::BlockValidator

Type at least 2 characters to search.

↑↓ navigate · open · esc close