Ask A Question


You’re not receiving notifications from this thread.

Add image attachment to user post and server via AWS S3

Simon Cooper asked in Javascript


I have a RoR 5.1 app, with an existing form that allows users to add a post to my app. However I want them to be able to include an image as an attachment. I'd like to save the image to S3, and I'm thinking of using React to do this. Can anyone point me in the direction of a good tutorial? I'm very new to React.


think this episode is useful for you:

from there you might go and add React.


Thanks Jack. I will have a watch of that.

Hey Simon,

Have you considered using AWS SDK and Rails Active Storage? I've recently started using it and it works amazingly well. Easy to install as well. Let me know if you need help!

Hey Martin.  I ended up just using Paperclip, in a regular erb view.  Very much does what I need for now.
Join the discussion
Create an account Log in

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

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

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