Method: MongoMapper::Plugins::Associations::ManyDocumentsProxy#delete_all
- Defined in:
- lib/mongo_mapper/plugins/associations/many_documents_proxy.rb
#delete_all(options = {}) ⇒ Object
78 79 80 81 |
# File 'lib/mongo_mapper/plugins/associations/many_documents_proxy.rb', line 78 def delete_all(={}) klass.delete_all(.merge(scoped_conditions)) reset end |