Sample app on rails tutorial