the-teacher/the_sortable_tree — Issue #3: Solving slowness
Author: jurriaan
Created: 2012-01-27 13:35:05+00:00
State: open

If you use a nested set make use of the possibility to fetch the whole tree in one query.
I saw you used the #children method to recursively fetch the whole tree, but fetching it using one #each_with_level call is much faster :)