Include type config
Mongoid.include_type_for_serialization controls whether the _type field is included when the model is serialized.
- When setting max_versions, paranoid documents that are in the embedded versions relation need to be hard deleted. - Fixes #1610.
- When passing ids to nested attributes and no docs exist, grabbing the first class could throw a NoMethodError getting the object id state. - Fixes #1608.
…ay. Fixes #1590.
- Will perform eager loading if includes was specified. - Part 1 of #1535.
- Also added Document#children_changed? to determine if any of the embedded documents have been altered. - Fixes #1551
… the relation into memory. Fixes #1589.