method

validate_each

validate_each(record, attr_name, value)
public

No documentation available.

# File activemodel/lib/active_model/validations/absence.rb, line 7
      def validate_each(record, attr_name, value)
        record.errors.add(attr_name, :present, options) if value.present?
      end