Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sample AJAX file upload in RoR
Ruby JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
public
script
test
vendor/plugins
.gitignore
README.rdoc
Rakefile

README.rdoc

Sample AJAX file upload in RoR

This is a sample application which intends to show how to make file uploads in RoR in an AJAX way without flash.

It's based in the code found here kpumuk.info/ruby-on-rails/in-place-file-upload-with-ruby-on-rails

Feel free to study the code, use it or modify as you want. No license, just enjoy it :)

Plugins it uses

Requirements

  • Rails 2.3.x (I tested with rails 2.3.5 but I guess it should work with it's bigger brothers as well)

For running the tests

  • shoulda 2.11.1

  • factory_girl 1.2.3

How to make it work?

  • Clone it

    git clone git://github.com/franciscoj/sample_image_upload.git
  • Migrate

    cd sample_image_upload
    rake db:create && rake db:migrate
  • Run-it!

    script/server
Something went wrong with that request. Please try again.