On Fri, Jan 03, 2003 at 12:43:33AM +0900, Ted wrote:
> Now we're getting somewhere!
Hi.

You can use the built-in iterator of the query result:

res.each { |row|
 ...
}

and IMO you don't need to catch exceptions as it is just iteration over a
data structure located in in the RAM.

Regards,

Dalibor Sramek

-- 
Dalibor Sramek  http://www.insula.cz/dali  |  In the eyes of cats,
                dalibor.sramek / insula.cz   |  all things belong to cats.