From: gregarican Date: 2006-11-15T04:50:06+09:00 Subject: Re: Assoc method on large array I narrowed down the result set so that it's only a few records. For some reason the array I populate with SQL results doesn't return anything using the assoc array method. I have used irb to create a new array that looks identical. I can do the my_array == sql_results and it returns true. And my new array responds to the assoc method and returns the expected record. But the array that's populated through the SQL fetch_all method always comes back with nil. Any ideas? gregarican wrote: > I am trying to invoke the assoc method on a large array. It seems to > return nil, although I can verify the elements I am querying against. > If I try the same operation with a smaller recordset the assoc method > seems to work okay. My recordset is a little over 70000 records. Are > there some limits I am exceeding? I am using Ruby 1.8.4 on Windows > using the One-Click Installer...