Colin Law wrote:
> 2009/6/30 doug <[email protected]>:
>> embedded ULs so that the view not only shows the topics but also shows
>> them in a way that displays their hierarchical relationships.  I have
>> no idea how I am going to do this.  Any ideas?
> 
> If I understand correctly you are looking for a tree structure for the
> topics.  Have a look at the acts_as_tree plugin.
[...]

I would generally recommend a nested-set model instead; 
awesome_nested_set works well.  The nested set structure is less obvious 
than the simple adjacency list that acts_as_tree provides, but it makes 
certain common operations *much* more efficient.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to