-rails stuff