Allow configuration of embedded models to fire callbacks on parent save (MONGOID-239)

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 2.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I took a stab at mongoid/mongoidMONGOID-239. Specs attached.

      This patch respects the :cascade_callbacks setting on embeds_many and embeds_one relationships. It defaults to false.

      I would appreciate a second pair of eyes; this change carries a lot of potential impact.

      (We are using Mongoid for a major project again! I'm thrilled.)

              Assignee:
              Unassigned
              Reporter:
              Paul Rosania
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: