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, in combination with the Remotipart gem for AJAX file-uploads.
Documentation and resources for the Rails jquery-ujs may be found in the following articles:
- Remotipart Rails Gem
- Rails 3 Remote Links and Forms: A Definitive Guide
- Rails 3 Remote Links and Forms Part 2: Data-type with jQuery
- New ajax:aborted Rails jQuery UJS Hooks
Also, see the remotipart branch for AJAX file-upload functionality.