Ruby on Rails and Backbone project