add support for virtual parent_id and root_id
Opened this issue · 0 comments
kbrock commented
As seen in #662, add support for the database to define a parent_id
and root_id
virtual column.
This makes the sql much easier to generate.
In order to get a pure rails belongs_to :parent, :class => self.class.name
(children
, ...) working, would still need to find a good way to pass the path
and not the parent_id
value.