Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-846

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

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

      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 Unassigned
            Reporter:
            paulrosania Paul Rosania
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: