Ask A Question

Notifications

You’re not receiving notifications from this thread.

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

Josh Zandman asked in Rails

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!!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 78,890+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2023 GoRails, LLC. All rights reserved.