Skip to content

undefined method 'prepend_sibling' as of 7.0 #339

Closed
@jasonsof

Description

@jasonsof

I'm using Rails 5.2.0 and just updated ClosureTree to 7.0 from 6.6.0

prepend_sibling and append_sibling are both returning undefined method errors on a model that has has_closure_tree. Both of those methods were working fine before.

Anyone else experiencing this? is this a defect?

edit: here's a contrived example with an rspec test showing the issue: https://github.com/jasonsof/tree_list

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