>
> Rails still requires "programming," after all. Are you having trouble
> creating an unordered list in your view or something?
>
It probably is an ordered tree in a view...? One way I can think of
would be to catch all root elements (usually the ones with a nil
parent_id!) together with der descendants into an array of arrays and
iterate over this with @root_elements_and_all_its_descendents.each do |
x|{ x.each do |z|{z.xyz}} - is that the problem?
--~--~---------~--~----~------------~-------~--~----~
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