hi, ok, what i need and dont know know how to do is:
@result = Category.roots #gives me 3, because i have 3 records with parent_id=NULL, what is fine @result.TO_FULL_RECURSIVE_XML ####### again, i want a xml-structure of all root-records with their children, and their children , and their children etc.... i can do it if i have only 1 result, but dont know how to build the xml if i have, lets say 30+ roots... thx -- 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 -~----------~----~----~----~------~----~------~--~---

