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

Make sure destroy callbacks are only run once when document is destroyed through nested attributes.

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

      The document may already have been destroyed as a result of existing.delete(doc), so don't destroy it again.

            Assignee:
            durran Durran Jordan
            Reporter:
            DouweM Douwe Maan [X]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: