module ActiveModel::Validations::ArrayValidator::DefaultKeys

Private Instance Methods

_validates_default_keys() click to toggle source

When creating custom validators, it might be useful to be able to specify additional default keys. This can be done by overwriting this method.

Calls superclass method
# File lib/can_has_validations/validators/array_validator.rb, line 120
def _validates_default_keys
  super + [:multiple_errors]
end