From: lorenzo Date: 2007-11-24T04:20:00+09:00 Subject: Re: ODBC and Ruby On 2007-11-23 18:50:22 +0100, Gerardo Santana G�mez Garrido said: > On Nov 23, 2007 11:20 AM, lorenzo wrote: >> On 2007-11-23 17:32:25 +0100, Gerardo Santana G�mez Garrido >> said: >> Hello, >> Is not so easy, I'm using Macosx and I don' have informix sdk for it > > I see. > >> Have you any ideas? >> Thank you :) > > Yes. I have just remembered (I used to use ruby-odbc with Informix two > years ago) that nrows didn't return any useful value to me for > Informix. Ignore it. You can't know how many records a SELECT returns > in Informix before fetching them. Yes, but querying the table, the rs seems to be empty, ruby give me warning message for no methods for NilClass in each. So I supose the rs is empty, anywhere nrows doesn't work you are right.