following the ruby on rails tutorial