I plan on creating a table of topics. The thing is that the topics
are hierarchical in nature. That is, there may be any number of root
topics. Each root topic can have other topics which would be like sub-
topics; and, sub-topics can have their own sub-topics, etc. I was
thinking about establishing the relationship by having a 'parent'
column (sort of like 'belongs_to') in the topics table so that the
parent topic of any given topic would always be known. However, I'm
not married to this idea. In any event, the problem comes in creating
the show view. I'd like to display the topics using a series of
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?
Thanks for any input.
... doug
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---