2025/10/21分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #55855 from harsh183/getting_started/move_extracting_partial_earlier
rails guideのGetting Started with Railsの修正です。
Editing Productsセクション内の説明の順番を入れ替えています。
Explain flash better in Getting Started guide
rails guideのGetting Started with Rails、Sign Up and Settingsの修正です。
controllerのflash機能についての詳細な説明を追加しています。
Fix ActiveSupport::Configurable deprecation
activesupport/lib/active_support.rb、
activesupport/lib/active_support/configurable.rbの修正です。
ActiveSupport::Configurableのdeprecateメッセージが正しく表示されない場合があったのを修正しています。
Merge pull request #55949 from ima1zumi/revert-53969-and-add-test
activerecord/lib/active_record/reflection.rbの修正です。
_klassメソッドのエラーハンドリング処理をリファクタリングした、Rewrite confusing code for getting association classをRevertしています。nestしたclass名を使用している、かつ、その名前がtop-levelに定義されているmodule名とconflictしてた場合に、正しく処理が行えない、というリグレッションが発生した為。
Add remaining deprecations to 8.1 Upgrade Guide
rails guideのRuby on Rails 8.1 Release Notesの修正です。
Deprecationsセクションに、deprecatedになった機能の説明を追加しています。
Keep the initialization of the client and bucket lazy
activestorage/lib/active_storage/service/gcs_service.rbの修正です。
Refactor gcs_service public interface to bring more in line with s3_serviceで、bucketの取得、及び、Google::Cloud::Storageの初期化処理をService::GCSService#initializeに移動したのですが、メソッド実行時にそれぞれ行うよう修正しています。その変更により、初期化のタイミングでGCPへのアクセスが発生する事になり、非互換になってしまう可能性があった為。
Fix rdoc comment formatting for all_helpers_from_path method
actionpack/lib/abstract_controller/helpers.rbのdocの修正です。
doc内から不要な#を削除しています。
Kamal localhost registry (#55934)
railties/lib/rails/generators/rails/app/templates/config/deploy.yml.tt、
railties/lib/rails/generators/rails/app/templates/kamal-secrets.ttの修正です。
rails newで生成されるKamal用の設定ファイルで、imageを管理するのにlocal docal registryを使用するよう修正しています。docker hubの設定無しで、productionへのdeployを試せるようにする為。
参考:Use local docker registry to push and pull app images
Actually turn this off by default too
railties/lib/rails/generators/rails/app/templates/config/deploy.yml.ttの修正です。
proxyの設定をデフォルトで無効化するよう修正しています。導入をしやすくする為、との事です。
Remove redundant bucket and client instance variables in initialize
activestorage/lib/active_storage/service/gcs_service.rbの修正です。
Keep the initialization of the client and bucket lazyのService::GCSService#initializeにbucketの取得、及び、Google::Cloud::Storageの初期化処理が残っていたのを削除しています。
Restore changelog entry for #51781 [ci-skip]
activemodel/CHANGELOG.mdの修正です。
Make ActiveModel::Serializers::JSON#from_json compatible with #assign_attributesのエントリーが誤って変更されてしまっていたのを元に戻しています。
Remove private attr_reader :config
activestorage/lib/active_storage/service/gcs_service.rbの修正です。
Service::GCSService内でconfigを参照するのに、@configを使用した箇所とメソッド経由でのアクセスが混在していたのを、@config`を使用するよう統一しています。
Merge pull request #55950 from excid3/link-next-tutorial-in-whats-next
rails guideの修正です。
Getting Started with Rails guideの最後に、次見るべきguideはSign Up and Settings guideである旨説明を追加、Sign Up and Settings guideの最後に、次見るべきguideはWishlists guideである旨説明を追加、及び、Wishlists guideの最後に、wishlistに追加したほうが良い機能の説明を追加しています。
[RF-Docs] [ci-skip]The Rails Command Line Guide (#55612)
rails guideのThe Rails Command Lineの修正です。
guide全体について、内容の最新化、説明が不足している箇所の追加、言い回しの修正、などを行っています。
Fix negative scopes for the nil value enum definition
activerecord/lib/active_record/enum.rbの修正です。
Fix negative scopes for enums to include records with nil valuesの修正により、enumにnilの値が含まれている場合に、enumのnegative scopeが正しく動かなくなってしまっていたのを修正しています。