Skip to content

Use a dedicated ActiveSupport::Deprecation object #325

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

etiennebarrie
Copy link

Rails 7.1 will deprecate usage of the ActiveSupport::Deprecation singleton (calling warn, silence, etc. directly on it) (see rails/rails#47354).

Unlike other PRs like rails/sprockets-rails#517 I didn't create a WebConsole.deprecator since it was only used in one spot. Let me know if you'd rather have that.

@gsamokovarov
Copy link
Collaborator

It's fine as is, we really do use it only in one spot. Thank you! ❤️

@gsamokovarov gsamokovarov merged commit 3cb71a1 into rails:master Apr 19, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants