jnunemaker/mongomapper — pull request #472 by balexand (2012-10-26 18:24:55+00:00)
Title: Delete/destroy methods called on query delete correct documents

This fixes #458. To summarize, if the following is executed:

```ruby
Doc.where(some_key: "some value").delete_all
```

The the expected behavior is:
* __Matching__ documents are deleted
* Call returns without exception

The observed behavior before this pull-request:
* __All__ documents are deleted :unamused:
* `NoMethodError` is raised with message saying that `delete_all` cannot be found even though `delete_all` was found and called :confused: