Module: ParanoidValidations::ClassMethods
- Defined in:
- lib/validations/uniqueness_without_deleted.rb
Instance Method Summary collapse
Instance Method Details
#validates_uniqueness_of_without_deleted(*attr_names) ⇒ Object
35 36 37 |
# File 'lib/validations/uniqueness_without_deleted.rb', line 35 def validates_uniqueness_of_without_deleted(*attr_names) validates_with UniquenessWithoutDeletedValidator, _merge_attributes(attr_names) end |