innku/sinatra-xhr-upload-example
An example sinatra app with html 5 xhr upload and faux ajax iframe upload as fallback for older browsers, the principles can be ported to Rails very easily
JavaScript
An example sinatra app with html 5 xhr upload and faux ajax iframe upload as fallback for older browsers, the principles can be ported to Rails very easily
JavaScript