Skip to content

How to: Easy Ajax file uploads with Remotipart

Slobodan Kovacevic edited this page Feb 17, 2015 · 4 revisions

Sometimes you need to submit a form using the :remote => true flag (AJAX via rails jquery_ujs) that contain file uploads. You'll soon find that :remote and file uploads on a form doesn't work out of the box.

Remotipart is a Ruby on Rails gem enabling AJAX file uploads with jQuery in Rails 3 and Rails 4 remote forms. This gem augments the native Rails jQuery remote form functionality enabling asynchronous file uploads with little to no modification to your application.

GitHub Repo

Homepage and Demos

How Ajax Uploads Work

Installation and Use

Go to the Official GitHub Repo and follow the most recent instructions on how to install. Remotipart Works Flawlessly with Carrerwave without any modifications, just install gem and profit.

Clone this wiki locally