trying out a rails tutorial