Module: HerExtension::Validations::RemoteUniquenessValidation::ClassMethods

Defined in:
lib/her_extension/validations/remote_uniqueness_validation.rb

Instance Method Summary collapse

Instance Method Details

#validates_uniqueness_of(*attr_names) ⇒ Object



27
28
29
# File 'lib/her_extension/validations/remote_uniqueness_validation.rb', line 27

def validates_uniqueness_of(*attr_names)
  validates_with RemoteUniquenessValidator, _merge_attributes(attr_names)
end