ClosureTree/closure_tree

easiest way to move element within list?

krtschmr opened this issue · 3 comments

having elements with position 0,1,2,3,4,5 and item 5 gets and update to be position 0. there seem to be no automatic reordering, leaving the list with 0,0,1,2,3,4.

what's the most efficient way to do this?

acts as list gem for example.

for reasons, we migrated from AAL to closure_tree. is there any plan to add such a feature?

AAL and closure_tree have different usage. I use them both in the same model to have list and tree capability.

Can you describe more what you trying to achieve ?