Module: MongoMapper::Plugins::Validations::DocumentMacros
- Defined in:
- lib/mongo_mapper/plugins/validations.rb
Instance Method Summary collapse
Instance Method Details
#validates_uniqueness_of(*args) ⇒ Object
9 10 11 |
# File 'lib/mongo_mapper/plugins/validations.rb', line 9 def validates_uniqueness_of(*args) add_validations(args, MongoMapper::Plugins::Validations::ValidatesUniquenessOf) end |