- I love it when bug fixes mean less code. Fixes #604.
errors. Fixes #472. - Sometimes the BSON gem catches the invalid hash keys, sometimes the error is raised by Mongo. In order for you to get the error back from Mongo you must be persisting in safe mode. This is by design, no change in Mongoid needed.
- There should never be a :binding => false option coming out of a binding object. Shouldn't have missed that. - This is second part fix for #611. Next is on to the delete.
…tter what the other type is.
but any object. Fixes #614.
Before this, during initialization, the relation would return nil for references_many relations with no metadata present to introspect.
…jectId. Rails passes all argument values as strings. So, for an embeds_one using nested_attributes_for, it needs to be able to accept an id and still convert it to an ObjectId.
dirty. - This is first part fix for #611. Second part is making sure save isnt called in the first place unless an id has changed.
See the documentation for class_attribute: http://edgeapi.rubyonrails.org/classes/Class.html#method-i-class_attribute
…ense named that way.