You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on a project that uses this gem, and I'm frequently finding myself wanting to query with joins to root using ActiveRecord's joins with root... however, since root isn't a proper ActiveRecord relationship, that's not possible.
Also, having a family relationship as well, to bring up all the nodes belonging to the tree :)
@sjke Is this something you'd be interested in? I can gladly take a good try at this, I've already got a plan 😈 and might get some code ready as well.
The text was updated successfully, but these errors were encountered:
vovimayhem
changed the title
Ability to make ActiveRecord joins to root, parent - maybe make those active record relationships?
Ability to make ActiveRecord joins to root, parent, etc
Feb 9, 2023
I've been working on a project that uses this gem, and I'm frequently finding myself wanting to query with joins to
root
using ActiveRecord'sjoins
withroot
... however, since root isn't a proper ActiveRecord relationship, that's not possible.Also, having a
family
relationship as well, to bring up all the nodes belonging to the tree :)@sjke Is this something you'd be interested in? I can gladly take a good try at this, I've already got a plan 😈 and might get some code ready as well.
The text was updated successfully, but these errors were encountered: