class ActiveModel::Validations::PresenceValidator
:nodoc:
def validate_each(record, attr_name, value)
def validate_each(record, attr_name, value) record.errors.add(attr_name, :blank, options) if value.blank? end
:nodoc:
def validate_each(record, attr_name, value) record.errors.add(attr_name, :blank, options) if value.blank? end