following the railscast for ember.js and rails