Jan E. wrote in post #1072075:
> Why do you guys keep saying that it's an array when you have no idea
> which database library this even is?

Sure, it might not actually be Array, but it's clearly some sort of 
collection which wraps the result rows.

I'm only guessing it's Array just because the rows seem to be plain 
Hashes rather than any fancy ORM wrapper object.

Let the OP print result.class and then we'll know for sure.

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