Skip to content
Demo Rails App with jQuery UJS
Ruby JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db
doc
lib/tasks
public
script
spec
vendor/plugins
.gitignore
.rspec
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Demo Rails 3.1 App with jQuery UJS (AJAX)

This is a very simple demo Rails 3.1 with all CRUD (create, read, update, delete) functionality in AJAX using the jquery-rails gem which bundles jquery-ujs.

For relevant code, see the Comments controller and views. Also see unobtrusive bindings in app/assets/javascripts/comments.js.

Documentation & Resources

Documentation and resources for the Rails jquery-ujs may be found in the following articles:

Also, see the remotipart branch for AJAX file-upload functionality.

Something went wrong with that request. Please try again.