moiristo / deep_cloneable

This gem gives every ActiveRecord::Base object the possibility to do a deep clone that includes user specified associations.
MIT License
786 stars 88 forks source link

Clarification in README regarding uploaders #61

Closed svensson-david closed 8 years ago

svensson-david commented 8 years ago

Hello! I had some issues with cloning models with mounted uploaders, in my case Carrierwave. Best solution i found was using a block when cloning and setting the attributes manually to get the files to copy together with the other data.

I think it could be good to add a note in the README regarding this to make the process smoother for others.

moiristo commented 8 years ago

PR? 😉

svensson-david commented 8 years ago

Sure thing, I'll sort it out during the beginning of the week

moiristo commented 8 years ago

Thanks!

svensson-david commented 8 years ago

Sorry for the delay, added the PR now

moiristo commented 8 years ago

Thanks! 👍