Paul Lutus wrote:
> Comfort Eagle wrote:
> 
> / ...
> 
>> Interesting.  Newb Q, I'm sure, but when I put that in a while loop I
>> get: "private method `gsub!' called for ..."  /me googles & still
>> scratches head.
>> 
>> "
>> res.each do |url|
>>   puts url.gsub!( /^http:\/\//i, '')
>> end
> 
> What is "res"? Is it an array of strings?

I thought it was:
res = dbh.query("Select url FROM sites")

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