Ember app and rails part 1