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(options={})
  klass.delete_all(options.merge(scoped_conditions))
  reset
end