PHP has more lines of code in the actual File than ruby. If you take a 
controller (in Rails) and compare it to a PHP program, PHP has more 
lines of code. However Ruby has libraries to do most of this code for 
you, if you include the libraries that you use Ruby has much more lines 
of code.

But because people who program Object Oriented Code tend to consider 
library code to not part of the actual program (as it is part of the 
API) they see it as "the actual code you write is less".

Having large libraries of code (coupled with the fact that Ruby has a 
slow interpreter) does make Ruby somewhat slower performance wise, 
however a Ruby programer would argue that because Ruby language is more 
efficient that PHP by re-using code and by using symbols where necessary 
instead of strings that makes up for it's slow rendering time.

-- 
Posted via http://www.ruby-forum.com/.