stefankroes / ancestry

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

add in_subtree_of? helper function, for symmetry #680

Closed Roguelazer closed 2 months ago

Roguelazer commented 2 months ago

This adds an in_subtree_of? method, because I've written this code many times and figured it made sense upstream.

kbrock commented 2 months ago

The sqlite3 > 2.0 thing is breaking this build.

Putting together a PR that fixes this (i.e.: #681), then will kick this build and merge.

Thanks for the contribution

kbrock commented 2 months ago

kicking (fixed build)

kbrock commented 2 months ago

Thank you