Skip to content

Feature request: multiple parents #37

@brandonzylstra

Description

@brandonzylstra

I have a use case (a university web site) where I must model supervisor/employee relationships.

These are essentially parent/child relationships, except that anyone can have an arbitrary number of appointments and therefore an arbitrary number of supervisors (though in practice more than 3 is rare). (Think of a professor whose specialty cuts across the boundaries of linguistics and anthropology, or chemistry and biology, etc. If they are also a department chair, then they likely have 3 appointments, and thus report to 3 different people.)

If acts_as_recursive_tree could support a parent_id which is an array or JSONB column (or perhaps parent_ids for a plurality of IDs) that would be extremely helpful. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions