ruby on rails - without - :remote=> true not working when a file uploader is used in form
remotipart npm (2)
AJAX image uploads do not work, at least not in the standard way.
There are newer, HTML5 techniques that make it work, and workarounds using
There is a great library that does multiple file ajax upload with progress meter and degrades to use different techniques depending on the browser.
AJAX Upload library: http://valums.com/ajax-upload/
It will require a little extra work, but the result can be really nice!
Basically when I include and use a file uploader in my form it seems to cancel out the :remote => true functionality and processes the action as HTML in place of JS. any ideas?
I was just faced with the same issue and found the following alternatives to make it work:
Gem remotipart => http://www.alfajango.com/blog/rails-3-ajax-file-uploads-with-remotipart/
jQuery Plugin 'jaxy' => https://github.com/adamlogic/jquery-jaxy
I think I like the first option better. But it's good to have options. =)