Mongoid v3.0.12 Release Notes

  • Resolved Issues

    • #2542 Allow embedded documents using store_as to properly alias in criteria.

    • #2541 Ensure that the type change is correct when upcasting/downcasting a document via Document#becomes (Łukasz Bandzarewicz)

    • #2529 Fields on subclasses that override fields in the parent where both have defaults with procs now properly override the default in the subclass.

    • #2528 Aliased fields need to be duped when subclassing.

    • ⚡️ #2527 Ensure removal of docs in a has_many does a multi update when setting to an empty array.