Ember and rails initialized