Rails and Backbone.js