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
10 11 12 |
# File 'lib/mongo_mapper/plugins/validations.rb', line 10 def validates_uniqueness_of(*args) add_validations(args, MongoMapper::Plugins::Validations::ValidatesUniquenessOf) end |