generated basic rails stuff