Sample app by rails tutorial