I have a categories table that has an id and a category_id so that I can
have a :belongs_to on itself.
On the left of my website I would like to display the main categories,
then their sub categories below them.
I have read in the book I have that iterations may be a possibility.
I thought that perhaps there are other ways to do this such has having
in my controller have two instance variables, one would have categories
where category_id is null to display top categories, then the other
variable would would have categories where category_id = a certain id.
Of course I just thought that the above mentioned might not work because
what about if I added a top category, then I would have to hard code
something each time - not desirable.
So what are your suggestions after readin my babble?