upgrade rails and add a ember-js