Backbone on Rails application for training