Sample app did on rails tutorial