doing a rails tutorial