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
34 35 36 |
# File 'lib/validations/uniqueness_without_deleted.rb', line 34 def validates_uniqueness_of_without_deleted(*attr_names) validates_with UniquenessWithoutDeletedValidator, _merge_attributes(attr_names) end |