unuseful rails stuff