Doesn't Clone Mounted Attributes

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.1.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              niedfelj
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: