Forum: Ruby on Rails acts_as_nested_set usable?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
A6d9ea53328a9e547cd10d4c30586bdb?d=identicon&s=25 Robert Head (roberthead)
on 2007-01-25 20:53
According to the Agile book,
"Rails ships with three acts as extensions: acts_as_list, acts_as_tree,
and acts_as_nested_set. I’ve chosen to document just the first two of
these; as this book was being finalized, the nested set variant had some
serious problems that prevent us from verifying its use with working

So, is it safe to use or not?

I've got a forum app, based originally on the RForum codebase, that
would seem to benefit greatly (performance-wise) from using
acts_as_nested_set instead of acts_as_tree.

What say you?
B23c96b88c4937f8cfa0a19497491678?d=identicon&s=25 thirddaydev (Guest)
on 2007-01-26 04:34
(Received via mailing list)
Hi Robert,

I read the same thing while I was in the middle of doing an
acts_as_nested_set forum implementation myself, and it did give me
pause.  But, since I was already going down that path rather than using
acts_as_threaded, I decided to press on.  I was able to successfuly use
acts_as_nested_set for my threaded forum app, which I started yesterday
and more-or-less finished today.  I am happy to say that all of my
tests run, and it seems to be performing well.  My particular forum has
multiple roots as well as multiple forums, and so far, I have not seen
any problems.

The directions I followed were from Bob Silva's site, and
here is the link:

Bob is the author of acts_as_threaded as well.

Hope this helps!


On Jan 25, 2:53 pm, Robert Head <>
Ae37af4ca07c58f33767e934b78f2a04?d=identicon&s=25 redmotive (Guest)
on 2007-01-26 04:48
(Received via mailing list)
Sorry for the intrusion on this post, but after I replied to Robert
above, I changed my profile to reflect my new company.  Unfortunately,
Google doesn't get the concept of forwarding the link from your old
posts to your new profile, so if anyone would like to contact me
regarding my answer above, you will need to respond to this message
instead.  Sorry!

This topic is locked and can not be replied to.