Forum: Ruby on Rails Another Design Question

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.
Silvy (Guest)
on 2005-11-30 20:36
(Received via mailing list)
Hi All,
I am a newbie to RoR arena. I am in the process of designing an
application to learn RoR. Have a design question. How do we design the
front end and the back end for the following requirements?
I wanted to design an application with
categories/subcategories/subcategories...... .All of these should be
driven from the database.. Typical example would be Or
another example could be

Links that can be selected: <category> <subcategory1> <subcategory11>
				    <category> <subcategory2>
If clicked on <category link> then list all its <subcategories> like
<subcategory1> and <subcategory2>
If clicked on <subcategory1> then list the subcategories of

I wanted to know how to design from a rails perspective.

Any help is appreciated.
Silvy Mathews
christopher.k.hall (Guest)
on 2005-11-30 21:29
(Received via mailing list)
take a look at acts_as_tree

you could also
This topic is locked and can not be replied to.