redo of the sample app from michael hartl's ruby on rails tutorial