working on rails tutorial