zorab47 / active_admin-sortable_tree

Show ActiveAdmin index as a nested tree with drag'n'drop
MIT License
162 stars 127 forks source link

add transaction to sort method to improve perfermance of SQL update #4

Closed lazing closed 11 years ago

lazing commented 11 years ago

the original code is slow when sort, eg: 240 records need 9 secs to update, after change: 2 secs

stefanoverna commented 11 years ago

Thanks @lazing

lazing commented 11 years ago

my pleasure ÔÚ 2013-6-11 ÏÂÎç4:03£¬"Stefano Verna" notifications@github.comдµÀ£º

Thanks @lazing https://github.com/lazing

¡ª Reply to this email directly or view it on GitHubhttps://github.com/nebirhos/activeadmin-sortable-tree/pull/4#issuecomment-19247839 .