setting up rails stuff