-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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.
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.