rails backend and ember frontend