This is example code meant to accompany a recent Onehub blog post: onehub.com/blog/posts/designing-an-html5-drag-drop-file-uploader-using-sinatra-and-jquery-part-1
The steps in the blog post are explicitly tagged, so the code included in the links won't change. If you'd like to get going with the latest version of this repo:
git clone git://github.com/texel/drag_drop_example.git
sudo gem install bundler
That's it! Happy hacking!