mongoid/mongoid — pull request #3563 by pmlarocque (2014-03-14 15:11:01+00:00)
Title: Failing spec for embedded many with BSON Object Id

Hello,

Here a failing spec for the deletion of embedded documents.
Related to #3025 and #3085.

Seem like you do not have the issue in your existing specs because the Address Id is the street not a BON::ObjectId.

As commented in the code, with 1 address it work, with 2 addresses the
```
person.addresses.each { |a| a.destroy }
```
delete 1 out of 2 others are green.

With 3 addresses all fails.

What I found out is with more embedded the .each number of fail is consistent while other varies.

Feel free to comment so I can help

pmlarocque