Tom Tom wrote: > hi, > > how can i select & build a recursive xml-response of all roots (PLURAL) > ?meaning not only 1st-level-children, but all level...
That's what the Model#descendants method in awesome_nested_set does. Go read the rdoc -- it's brief but clear. > > eg > > FaqCategory.find(:all, :conditions => ['parent_id IS > NULL']).ALL.full_set What the heck is that? > > but for some reason, i dont get it.... The docs are your friend. Also, there are some articles on the Web about the basics of the nested set concept. You should probably read some of them. > > help > > thx Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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 -~----------~----~----~----~------~----~------~--~---

