Skip to content

Integrate into Rails scopes #5

@wollistik

Description

@wollistik

The descendants/descendants_of methods are instance/class methods, which cannot be use when using scopes.
Find a way to allow things like

Node.where(foo: 'bar').descendants

instead of

Node.descendants_of(Node.where(foo: 'bar'))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions