Backbone example in Ruby on Rails