How does rails fit into that picture at all?
Backbone.js and Ember.js are already great for working with rails/REST apps...