Rails front-end