sample application from ruby on rails tutorial by michael hartl