Am 21.08.2009 um 12:19 schrieb jhaagmans:

> It will generate a new query for the root element as well as every
> child it handles. That's not what I want. The reason why I was told to
> use "awesome nested set" is because I can retrieve my entire nested
> set in one single query and proceed from there. I have certain sets
> that will generate over 100 queries this way, that's not pretty!
>
> Can anyone tell me what I'm doing wrong?


Try using the view helper as described in the README 
http://github.com/collectiveidea/awesome_nested_set/tree/master

Mit freundlichen Grüßen,

Felix Schäfer


--~--~---------~--~----~------------~-------~--~----~
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