File API uploading with progress bar using JQuery and XHR.
Upload files using JQuery, the File API, and XMLHttpRequests. This currently will only work in Firefox and Chrome, and provides accurate progress reporting.
gem install bundler
bundle install
rackup
evergreen serve
Attach the functionality to a file form field.
$("#upload").attach({ url: "/upload" });