Why did Rails get created?

Why did rails get created?
The creator (David Heinemeiner Hanson) already knows php. (http://
gettingreal.37signals.com/toc.php)

It was extracted from an app he wrote several years ago.