full sample app from Hartl rails tutorial