-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix "undefined method safe_append=" on Ruby 3.0.0 #108
Conversation
Any updates on this one? xray-rails is breaking on ruby 3.0 |
I'm using this branch on a Ruby 3.0.0 project and it seems to work. I am reluctant to merge this because CI is broken so I can't be sure it works on other versions of Ruby. Unfortunately I don't have time to work on fixing CI or tending to the other backlog of issues that need to be addressed before cutting a new release. For now you can depend on this branch directly, like this: gem "xray-rails", git: "https://github.com/brentd/xray-rails.git", branch: "bugs/ruby-3.0.0" |
Can we please release this version? |
The fix I am using
|
It would be great to get this moving! The main blocker seems to be that the build is not passing. |
The fix in this PR only works on Ruby 2.7+. If compatibility with older, unsupported, ruby versions is required then the ruby2_keywords method should be used. See https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/ |
Fixed my problem with this branch. I confirm it works on Ruby 3.2.2 and Rails 7.0.4.3. |
Hi @brentd. Will you be merging this PR? |
Merged. I will cut a release in the next few days. Sorry for the long hiatus! |
No description provided.