Flowdock
method

validate_each

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveModel::Validations::PresenceValidator
validate_each(record, attr_name, value) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/validations/presence.rb, line 6
      def validate_each(record, attr_name, value)
        record.errors.add(attr_name, :blank, **options) if value.blank?
      end
Register or log in to add new notes.