mongoid/mongoid — Issue #1341: Using a class in multiple has_many / references_many 's
Author: jrz
Created: 2011-10-11 10:24:16+00:00
State: open

I have a class Image.
This image belongs_to a folder, which has_many images

But there's a different class too: DownloadJob, which references_many images

when I save the downloadjob, the field images doesn't exist in mongo, where I would expect an array of image-references