Sample app from learning rails book