Skip to content

Conversation

donv
Copy link

@donv donv commented Dec 27, 2019

...to avoid getting warnings from Ruby 2.7

...to avoid warnings from Ruby 2.7
@donv
Copy link
Author

donv commented Dec 27, 2019

This breaks compatibility with Ruby 1.9.3, but is necessary for Ruby 3.0. As far as I know, there is no way to support both Ruby <=1.9.3 and Ruby >= 3.0 for this syntax. Ruby 3.0 is less than one year away. Maybe a new major version of acts_as_tree during 2020 that drops support for Ruby 1.9.3?

@felixbuenemann
Copy link
Collaborator

Thanks for the PR.

I‘ll think about a solution.

@felixbuenemann
Copy link
Collaborator

I solved this without breaking 1.9.3 compatibility in #87 and released the changes as acts_as_tree 2.9.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants