Skip to content

Fix routes deprecation warning for Rails 8.x #8502

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

Closed
wants to merge 1 commit into from

Conversation

tagliala
Copy link
Contributor

Close: #8498

Ref: rails/rails#52422

@tagliala tagliala marked this pull request as draft October 12, 2024 17:53
@tagliala tagliala mentioned this pull request Oct 12, 2024
4 tasks
Copy link

codecov bot commented Oct 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.11%. Comparing base (76d1ee5) to head (46050d4).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8502   +/-   ##
=======================================
  Coverage   99.11%   99.11%           
=======================================
  Files         141      141           
  Lines        4076     4076           
=======================================
  Hits         4040     4040           
  Misses         36       36           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tagliala
Copy link
Contributor Author

Trying to understand how I had this deprecation message on my dev machine, does not seem to affect 8.0.0.beta1

@tagliala tagliala marked this pull request as ready for review October 12, 2024 18:05
@tagliala
Copy link
Contributor Author

Sorry, I can't replicate the deprecation but this commit should not hurt

@tagliala tagliala force-pushed the chore/8498-fix-routes-deprecation branch from 99ce0b5 to 46050d4 Compare October 12, 2024 19:35
@javierjulio
Copy link
Member

@tagliala the reason is this was actually reverted in rails/rails@5c0b749 as I noticed from this rubocop-rails PR comment.

@tagliala
Copy link
Contributor Author

Thanks for noticing. I didn't see the revert PR linked to the PR I was taking a look to.

What should we do?

@javierjulio
Copy link
Member

@tagliala the reason nothing was linked is that there was no PR. It was a revert commit that was pushed directly to the default branch. Hmm well it doesn't seem worth doing the change because there is no deprecation now. Reviewing other PR's following that, there was another revert as well. Rails is making changes to routing but seems to be scaled back a bit. I think we should ignore this for now and only make a change once we have deprecations from an official release. Thank you.

@javierjulio javierjulio deleted the chore/8498-fix-routes-deprecation branch October 13, 2024 00:35
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.

Test suite: ActiveSupport::DeprecationException with Rails 8
2 participants