I don't think it's possible to upload files with AJAX, but there are some workarounds with hidden iFrames. It's not very elegant, but it works.
See this, for instance: In-place file upload with Ruby on Rails | Dmytro Shteflyuk's Home
I don't think it's possible to upload files with AJAX, but there are some workarounds with hidden iFrames. It's not very elegant, but it works.
See this, for instance: In-place file upload with Ruby on Rails | Dmytro Shteflyuk's Home