Also, if you add

puts res.body

You will get all of the HTML for that page. Just a note that might help.

Thanks a lot.

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