require the rails stuff