class ActiveModel::Validations::PresenceValidator

def validate(record)

def validate(record)
  record.errors.add_on_blank(attributes, options)
end