Balint Erdi wrote: >> Note 3: Unless the whole array has already been loaded into memory, >> that's horribly inefficient. �Nested sets are the way to go here. >> >> Best, >> -- >> Marnen Laibow-Koserhttp://www.marnen.org >> [email protected] >> -- >> Posted viahttp://www.ruby-forum.com/. > > Seems interesting, could you sketch up how that would work?
There are plenty of good articles available on nested sets (notably those by Joe Celko and Vadim Tropashko). Check 'em out, and also look at the awesome_nested_set rdoc! > > Balint Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] Best -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

