This application shows how one can combine the usage of both backbone.js on the client-side and Ruby on Rails (3.0.7) on the server-side with Pusher to create an rich interactive and collaborative application such as a todo-list manager.
The bulk of the application's front-end logic is heavily based off the backbone.js todo-list example. We've written a small library that binds Pusher and Backbone together, the code to this can be found in public/javascripts/backpusher.js. The usage of it can be seen in public/javascripts/application.js.
To get this application running locally, you should be able to simply clone this repository and run the following:
bundle install
rake db:migrate
rails s
open http://localhost:3000/