-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
I'm not sure where responsibility lies for this, maybe with CarrierWave, but Mongoid fails to clone the attributes that a CarrierWave::Uploader is mounted on. I have an embedded Asset model that has an uploader mounted on field :file, everything clones properly except in the new document the :file field is nil instead of the previous file(name) that was in the attribute before.