Hey Travis,
I think has many returns activesdb_something object and not results array. Maybe we should switch that over for continuity as long as its seamless.
On Nov 23, 2009 12:59 PM, "Travis Reeder" <tre...@gmail.com> wrote:
Hi Lenny,There is a length method actually, so not sure why that doesn't work for you. If you could provide a stacktrace for the error, that would be great. The results array currently doesn't support all the standard ruby array methods because it's actually an instance if SimpleRecord::ResultsArray which is primarily there to support lazy loading functionality (loads one set of results a time and only gets more if they are actually needed/used). http://github.com/appoxy/simple_record/blob/master/lib/results_array.rb
Map is certainly not there yet, but I suppose it could be added without too much effort.Travis
On Mon, Nov 23, 2009 at 12:18 PM, Chad Arimura <cari...@gmail.com> wrote: > > Lenny - > > Thanks...
-- You received this message because you are subscribed to the Google Groups "SimpleRecord" group. ...