Closed
Description
I just spent way too long trying to figure out why closure_tree wasn't working for me; it turns out that I had declared
default_scope { order('id asc') }
in my model and it was causing trees to misbehave when they contained children whose IDs where less than that of their parent. Perhaps my blunder can be documented to help others avoid similar headaches.
Metadata
Metadata
Assignees
Labels
No labels