-
-
Notifications
You must be signed in to change notification settings - Fork 108
Upgrade Ruby on Rails: 7.1 -> 7.2 #1692
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21738df
to
4cd82de
Compare
NOTE: Just in case. Usually the atual pages are rendered with preset Japanese ones by Rambulance gem.
今回はそんなに影響範囲大きくなさそうなので (念のため Rollback の準備はしつつ) 一旦マージしちゃいます!🚀✨ @nalabjp @nanophate マージ後でも全然大丈夫なのでもし何か気になる点などあればコメントいただけると嬉しいです...!! 🙏 💖 |
This was referenced May 23, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
関連ページまとめ
cf. Railsガイド - Railsアップグレードガイド
cf. Ruby on Rails - Maintenance Policy
関連PR (時系列順):
<-- 今ココ
事前準備
3.4.4
#1690ostruct
concurrent-ruby
simple_grid_rails
uglifier
coffee-rails
本 PR で行う作業 (時系列順)
» AI による作業サポートの詳細を見る
はい、Rails 7.1 から 7.2 へのアップグレード手順をまとめさせていただきます。前回のアップグレードの経験を活かしつつ、以下のように提案させていただきます:
準備作業
upgrade-to-rails-7-2
)Gemfile の更新
rails
gem のバージョンを~> 7.2.0
に更新bundle update rails
を実行Rails アップグレードガイドの確認
設定ファイルの更新
bin/rails app:update
を実行config/application.rb
のconfig.load_defaults
を7.2
に更新テストの実行と修正
bundle exec rspec
を実行してテストを確認開発環境での動作確認
本番環境へのデプロイ準備
本番環境へのデプロイ
監視とフォローアップ
bin/rails app:update
を実行し、発生した Conflict を1つずつ対応するconfig/initializers/new_framework_defaults_7_2.rb
) に沿って、設定を1つずつ ON にしていく