[ fix #2472 ]
[ fix #2469 ]
In the case of a relation existing in the attributes hash and then getting set to empty, this now allows the attributes to properly get reset. [ fix #2454 ]
This double call was added by this commit bfb4a28
If ._types method had been called before declaration the subclass, Factory.build method will not be able to create object of its subclass.
selection by instead storing a hash of all selections in one thread local. [ fix #2439 ]
criteria_instance_id (instead of klass) as that's what it's actually called with now.
[ fix mongoid/moped#82 ]
When used off a criteria, this would overwrite all other fields that were not part of the update. [ fix #2423 ]
…ch methods to return an Enumerator when no block is given