learning some rails stuff.