going through a rails tutorial