Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-3070

Doesn't Clone Mounted Attributes

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.1.5
    • 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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            niedfelj niedfelj
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: