Skip to content

Silence deprecate message during app:udpate command#53647

Merged
byroot merged 1 commit into
rails:mainfrom
y-yagi:fixes_53558
Nov 15, 2024
Merged

Silence deprecate message during app:udpate command#53647
byroot merged 1 commit into
rails:mainfrom
y-yagi:fixes_53558

Conversation

@y-yagi

@y-yagi y-yagi commented Nov 15, 2024

Copy link
Copy Markdown
Member

Detail

When users run this command, they don't have a new_framework_defaults yet. So they may not know about new deprecations and messages would be just noise. I think it's better to silence those messages to avoid confusion.

Fixes #53558.

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one change. Unrelated changes should be opened in separate PRs.
  • Commit message has a detailed description of what changed and why. If this PR fixes a related issue include it in the commit message. Ex: [Fix #issue-number]
  • Tests are added or updated if you fix a bug or add a feature.
  • CHANGELOG files are updated for the changed libraries if there is a behavior change or additional feature. Minor bug fixes and documentation changes should not be included.

@rails-bot rails-bot Bot added the railties label Nov 15, 2024
When users run this command, they don't have a
`new_framework_defaults` yet. So they may not know about new
deprecations and messages would be just noise. I think it's better
to silence those messages to avoid confusion.

Fixes rails#53558.
@y-yagi y-yagi marked this pull request as ready for review November 15, 2024 06:54
@byroot byroot merged commit 435feaf into rails:main Nov 15, 2024
byroot added a commit that referenced this pull request Nov 15, 2024
Silence deprecate message during `app:udpate` command
@y-yagi y-yagi deleted the fixes_53558 branch November 15, 2024 11:49
@yahonda yahonda mentioned this pull request Dec 9, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

app:update prints deprecation warnings during active_storage:update

2 participants