Module: Mongoid::Validations::ClassMethods
- Defined in:
- lib/locomotive/mongoid/patches.rb
Instance Method Summary collapse
Instance Method Details
#validates_exclusion_of(*args) ⇒ Object
56 57 58 |
# File 'lib/locomotive/mongoid/patches.rb', line 56 def validates_exclusion_of(*args) validates_with(ExclusionValidator, _merge_attributes(args)) end |