New and improved rails back end