I have a Site Model that has_ancestry. This model hierarchy has two trees....
TREE1
SiteA (Root)
- SiteB
- SiteC
TREE2
SiteC (Root)
- SiteD
Is there a method or SQL statement to show the link between SiteA and SiteD?
Or is this not possible given they exist on separate trees (associated via SiteC)?
You can check with the while loop to go down to upwards and check until parent is nil.