I see this thread kind of smashing PHP..
I have to jump in here. I dabbled with ROR; and I personally have to say its a joke; who cares if its fun and friendly, and has rainbows and little stupid unicorns helping you with gems.. Ya Ruby has some fans about less than a thousand of them while PHP has over 600,000+ programmers.
When you bring up bad programming design. That's based on the developer (s) coding. PHP is an extremely powerful object oriented programming landuage; using MVC. Ruby reminds me of other standard frameworks in the PHP community like Zend, CodeIgniter, Yii etc... I even seen developers screw up the MVC structure in those frameworks too.
There's always a HUGE community of php developers and resources out to help develop applications faster. Ruby so called Gems is same thing as PHP Libraries; there's hundred-thousands of libraries out there for PHP. If someone was going to choose between Ruby(RoR) over PHP consider the job possibilities. There's about 1 of 10,000 jobs posted on different networks (Craigslist, Monster, Careerbuilder, elance, guru) for PHP; maybe just maybe you'll find 1 job posting for a Ruby developer.
I developed in PHP since 2001. If i was to get into Web Development now... I would consider those facts. PHP obviously is the winner. or .NET a lot of jobs for .NET too.
If Ruby was so great there would be more demand for it.. and I would be trying my hardest to learn it for job security..