Skip to content

Conversation

@y-yagi
Copy link
Contributor

@y-yagi y-yagi commented Aug 16, 2025

ActiveSupport::Deprecation.silence was deprecated on Rails 7.11 and removed by Rails 7.22.

Now we need to use Rails.application.deprecators.silence to silence all deprecation messages.

Footnotes

  1. https://github.com/rails/rails/pull/47354

  2. https://github.com/rails/rails/commit/c682bf26417f2a88b0efa46499e94dcf45955f4f

`ActiveSupport::Deprecation.silence` was deprecated on Rails 7.1[^1]
and removed by Rails 7.2[^2].

Now we need to use `Rails.application.deprecators.silence` to silence
all deprecation messages.

[^1]: rails/rails#47354
[^2]: rails/rails@c682bf2
@tompng
Copy link
Owner

tompng commented Aug 17, 2025

Thank you 👍

@tompng tompng merged commit a24d65a into tompng:master Aug 17, 2025
9 checks passed
@y-yagi y-yagi deleted the fix_deprecation_silence branch August 17, 2025 22:34
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