Rails + GrapeAPI and AJAX file Upload
A simple Rails 3.2.13 application. Displays the ability to upload a file to a Grape API endpoint using Pure AJAX.
Before running this app on your local machine:
bundle install: This will mainly install Rails 3.2.13 (which I've tested), GrapeAPI, SQLite and Paperclip
create your database, and migrate using:
rake db:drop #just in case rake db:create rake db:migrate
launch the server
rails sand upload a file using the form. You can even view Firebug's console
.railsapp/publicfolder and check the "uploads" folder. You should get your upload right in there.