carrierwaveuploader / carrierwave

Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks
https://github.com/carrierwaveuploader/carrierwave
8.78k stars 1.66k forks source link

Fix mounter cache duplication on dup #2690

Closed rajyan closed 1 year ago

rajyan commented 1 year ago

Added a failing test for https://github.com/carrierwaveuploader/carrierwave/issues/2689

duplication should not affect the duplicated objects path.

Updated

And now fixes https://github.com/carrierwaveuploader/carrierwave/issues/2689

rajyan commented 1 year ago

@mshibuya Hope that I've understood the code enough. I've read this (japanese) article https://qiita.com/QUANON/items/287ff2c5c72c93c2ff07 and think this might be the cause.

mshibuya commented 1 year ago

Thank you so much 👍