-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
Hi Durran,
I posted a question on SO but after thinking about it some more I believe this was a change between mongoid 3 and mongoid 2: http://stackoverflow.com/questions/12540287/mongoid-intersect-criteria-on-embedded-document So not sure if it was intentional.
It seems like a tough problem, because it usually makes sense to have criteria with the same key get overwritten later in the chain. But for embedded documents I guess it makes sense to keep multiple with the same key.
Any ideas? Thanks for the help!