Code for my tutorial on adding Backbone to an existing Rails application