following a ruby on rails tutorial