Module: ActsAsParanoid::Validations::ClassMethods

Defined in:
lib/acts_as_paranoid/validations.rb

Instance Method Summary collapse

Instance Method Details

#validates_uniqueness_of_without_deleted(*attr_names) ⇒ Object



20
21
22
# File 'lib/acts_as_paranoid/validations.rb', line 20

def validates_uniqueness_of_without_deleted(*attr_names)
  validates_with UniquenessWithoutDeletedValidator, _merge_attributes(attr_names)
end