Brian Candler wrote in post #1072080:
> 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.

I think it is not really an "Array" per se, but something that includes
the Enumerable module (just like in sqlite3 or mysql2).

Regards,

Bill

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