redo of the first app from the ruby on rails tutorial