module ActiveModel::Validations::ClassMethods

def _validates_default_keys

additional default keys. This can be done by overwriting this method.
When creating custom validators, it might be useful to be able to specify
def _validates_default_keys
  [:if, :unless, :on, :allow_blank, :allow_nil, :strict]
end