class ActiveModel::Validations::HashKeysValidator

Public Instance Methods

validate_each(record, attribute, hash) click to toggle source
# File lib/can_has_validations/validators/hash_keys_validator.rb, line 24
def validate_each(record, attribute, hash)
  super(record, attribute, Hash(hash).keys)
end