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

Dont duplicate embedded docs after becomes

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

      person.becomes(Manager).tap do |p|
        p.save!
      end
      

      would duplicate all embeds_many docs.

            Assignee:
            durran Durran Jordan
            Reporter:
            arthurnn Arthur Nogueira Neves
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: