Ask A Question

Notifications

You’re not receiving notifications from this thread.

Add image attachment to user post and server via AWS S3

Simon Cooper asked in Javascript

Hello.

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.

Reply

Thanks Jack. I will have a watch of that.

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

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

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

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

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