Closed kbrock closed 1 year ago
That's one more thing a #620 would break.
That's one more thing a #620 would break.
Yup. I tried to think of any issues we could have in STI trees. This test was suspect and it got me thinking of other places bugs may lurk. @@variables
are notorious for introducing bugs within hierarchies, let alone STI trees.
un-deprecate
un-deprecating
has_ancestry
in the middle of the tree punting on this to a later date.Tests
has_ancestry
)has_ancestry
)Ensure that
ChildClass1
ancestry options do not leak over toChildClass2
If there are multiple STI nodes that have ancestry defined.Outstanding
depends upon #628 (or 600)change test to ensureancestry_options
are differentSee also #631 for stable backport