Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index action has n+1 DB queries #1

Open
stevenocchipinti opened this issue Oct 15, 2012 · 2 comments
Open

Index action has n+1 DB queries #1

stevenocchipinti opened this issue Oct 15, 2012 · 2 comments

Comments

@stevenocchipinti
Copy link
Member

This may be fixed by using either Task.arrange or task#subtree

@asellitt
Copy link
Member

i noticed that but wasnt sure of a way around it. Are these ancestry concepts?

@stevenocchipinti
Copy link
Member Author

Yea, I was just looking at the Ancestry readme, both of those methods return a subtree so they save you from doing recursive db queries.
I haven't looked into it enough to know the best way yet though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants