From: snacktime Date: 2006-08-16T14:28:21+09:00 Subject: Re: strange problem with ruby-dbi and arrays Sort of works. On the last loop it throws this: `dup': can't dup NilClass (TypeError) > > Guessing but perhaps fetch reuses the same object to store the query > result. > What if you do > > while row = sth.fetch.dup do > ... > end > > >