Depends on what you mean by webservice - SOAP or REST.
Rails works great for REST, but not for SOAP.
For DB interaction, I really like ActiveRecord. Don't think that PHP can offer any serious ORM alternative.
As for scaling, well, Rails has just a few real world test cases, whereas PHP has many.