migrate ember-rails code to ember-cli.