For creating a web application, you need to use ruby on rails and not 
simply ruby. of course you can create application with much less code 
and you don't have to write sql queries as in PHP; database interface 
can be handled with object relational mapping in RoR.

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