copy_carrierwave_file icon indicating copy to clipboard operation
copy_carrierwave_file copied to clipboard

Doesn't play nice with CarrierWave's #move_to_cache

Open naw opened this issue 10 years ago • 1 comments

CarrierWave has an option for moving files to its cache rather than copying them:

https://github.com/carrierwaveuploader/carrierwave#large-files

When using move_to_cache, if you're using File.open to open the file uploaded for the original resource, CarrierWave will move that file to its cache (and later delete it), thus destroying the original resource's file.

naw avatar Jan 25 '15 00:01 naw

Hi Naw, thank you for feedback, I'll check into that

equivalent avatar Jan 26 '15 17:01 equivalent