Hi Railers,
Is the nested set model restricted to only one root?
I’m working on a screencast building a threaded forum and nested set
comes
close but is lacking a few items for this project.
First, all the documentation I can find restricts a nested_set to one
root
node, and a threaded forum would have many roots. Also, without a ton of
fancy sql or an ungodly amount of db calls, it doesn’t track the depth.
Is my understanding of nested sets correct?
I created an acts_as_threaded to get around these “limitations” which
performs well for this scenario, just curious if nested_set could also
have
been used if I had a better understanding of it.
Thanks
Bob S.
http://www.railtie.net/