collectiveidea/awesome_nested_set — pull request #171 by ericsmith66 (2012-12-27 19:37:40+00:00)
Title: Performance Issue with move_to

move_to creates performance issue on large trees. After inserting a child record on a tree, move_to performs a update query on each record in a given scope. Doing several inserts will update the left rights and parents for every record in the tree. I modified move_to to add a constraint query to limit the records updated to only those records where left, right , or parent_id are changed.

I think the existing test cover this case but kickit back if you think a additional test is necessary.

Thanks
Eric Smith