Skip to main content

How do I duplicate or move a carrierwave image that's stored on S3?

Rails • Asked by Josh Zandman

Media page for controller:
User can upload an image.
User can also create a folder.
I want the user to have the choice to either move or copy the uploaded image into the folder.

I've looked around for a few hours and closest solution I found was this gem: https://github.com/equivalent/copy_carrierwave_file but I don't understand how to use it in my situation - there are no docs, just a quick setup example.

Any ideas?
Thanks!!


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.