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

Allow configuration of embedded models to fire callbacks on parent save

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

      There've been a few pull requests and issues for firing callbacks on embedded docs when the parent is saved. Right now, MONGOID-1059 is the most up-to-date. It's a pull request, though, so I'm creating an issue for this feature so that it can be tracked more easily.

      As far as I can tell, MONGOID-1059 is solid, and the tests pass. However, my experience with Mongoid's callback implementation is limited. Thus, I'd appreciate durran or someone else with a lot of experience with Mongoid's callbacks to examine this pull request.

            Assignee:
            Unassigned Unassigned
            Reporter:
            nickh Nick Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: