-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
Has anyone run into an issue where documents get stored in the wrong collection? I've reviewed my code several times and I know I'm not instantiating the wrong model for the document I want to store, besides, the issue doesn't appear to happen all the time and it's not consistent in which wrong collection the document goes to. So document A should be stored with collection A, but sometimes it gets saved with collection B or collection C.
I'm running Mongoid under Redstorm (a Storm DSL for Jruby) and I do have multiple threads running.
Any advice or help would be awesome! Let me know if you need more information.
I'm using mongoid-3.1.6 with moped-1.5.1
Thanks!