Module: Millstone::ActiveRecord::Validations::ClassMethods

Defined in:
lib/millstone/active_record/validations/uniqueness_with_deleted.rb

Instance Method Summary collapse

Instance Method Details

#validates_uniqueness_of_with_deleted(*attr_names) ⇒ Object



43
44
45
# File 'lib/millstone/active_record/validations/uniqueness_with_deleted.rb', line 43

def validates_uniqueness_of_with_deleted(*attr_names)
  validates_with UniquenessWithDeletedValidator, _merge_attributes(attr_names)
end