Rails — Form Submission and File Upload via AJAX

RKH
The Startup
Published in
2 min readAug 12, 2019

--

A quick guide on how to render a form for creating a resource that is submitted dynamically.

This post assumes you’ve already serialized your resource with AMS, if you haven’t gotten that far — read this.

For my app, it was a longer form, so I didn’t want to display the newly created resource on the same page — but wanted to either show error messages, or…

--

--