class ActiveModel::Validations::AbsenceValidator

:nodoc:
== Active Model Absence Validator

def validate_each(record, attr_name, value)

:nodoc:
== \Active \Model Absence Validator
def validate_each(record, attr_name, value)
  record.errors.add(attr_name, :present, **options) if value.present?
end