Forum: Ruby on Rails [ANN] acts_as_threaded plugin

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.
Bob S. (Guest)
on 2006-02-06 05:03
(Received via mailing list)
This plugin is related to the acts_as_nested_set functionality but
in that it allows multiple roots to exist within your database.

The other benefit, is that when adding a child, it doesn't perform a
table update to rebuild the tree, each child insertion only affects the
that it is placed in.

It even comes with my first screencast to show how you can build an old
school threaded forum.

Check it out if you need this extended functionality.

It's certainly possible that acts_as_nested_set can be massaged to
this functionality, but I found it quicker and easier to build it

This is a 0.1 version and I haven't created the unit tests for it yet.
Please send bug reports and feature requests back my way.


Bob S.
Roberto S. (Guest)
on 2006-02-06 07:57
(Received via mailing list)
Great plugin and amazing screencast !  What tool did you  use to create
it ?
Peter Earle (Guest)
on 2006-02-06 08:46
(Received via mailing list)
Excellent screencast. I'll be sure to check out your plugin when I get
the opportunity to do so.
Bill K. (Guest)
on 2006-03-13 21:52
(Received via mailing list)
From: Bob S.

Hi, I think this is probably a general newbie Rails question,
not necessarily specific to this plugin.  But I'm following
the screencast, duplicating the steps shown, trying to arrive
at the same fledgeling threaded forums Rails app.

I've gotten to where I'm creating my first new post, and I'm
seeing a difference between the screencast and my own app.

The screencast "New post" form starts out with the Depth, Lft,
and Rgt fields already pre-filled with zeros:

Whereas, in my app, these fields are blank:

[(And even if I fill in those fields, when I submit the post, it
seems some hidden fields like root_id and parent_id are NULL that
I think should have had some default value, as well.)]

My question is, can anyone give me some hints as to what would
allow the screencast app to have default values for some fields,
whereas my app does not?

I'm wondering if it's something at the database level . . . .

Thanks for your help!


This topic is locked and can not be replied to.