Ember and rails API for a meal planning application