stefankroes / ancestry

Organise ActiveRecord model into a tree structure
MIT License
3.71k stars 458 forks source link

[WIP] Add option on how to handle orphans when arranging nodes #661

Open kbrock opened 1 year ago

kbrock commented 1 year ago

Fixes #539

@brendon is this what you had in mind? How do you usually get into this method?

read: I'm wondering where we want to pass add_orphans: false

kbrock commented 1 year ago

WIP: functionality complete. need tests