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



38
39
40
# File 'lib/acts_as_paranoid/validations.rb', line 38

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