How Did South Korea Become So Rich?

How did South Korea go from a war-torn nation in the 1950s, one of the poorest in the world, to one of its most developed? And in a single generation?