Ember front end and rails backend