-
Type: Task
-
Resolution: Done
-
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
- related to
-
MONGOID-3187 Multiple embedded documents of the same class but different class_name causes the wrong thing to get set
- Closed
- tested by
-
MONGOID-3725 Bug fix for issue #3724
- Closed