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

Unable to build embedded more than one embedded document of the same type

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

      After building more than one embedded documents of the same mongoid class, saving the parent document produces the following error:
      undefined method `push' for #<Hash:0x0000010436ed68>

      Here's a reproduction of the bug:
      https://github.com/wefarrell/mongoid-embedded-document-bug

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            wefarrell William Farrell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: