2024/09/20分のコミットです。
CHANGELOGへの追加はありませんでした。
Fix test so that requests are considered local
railties/test/rails_info_controller_test.rb
の修正です。
consider_all_requests_local
がtrueになっている場合の挙動を確認するテストで、consider_all_requests_local
がtrueになってなかったのを修正しています。
Update devcontainer Tip on getting started
rails guideのGetting Started with Rails
の修正です。
Creating a New Rails Project
セクションで、Dev Container用のファイルがデフォルトで生成される旨説明が記載されていたのを、Dev Container用のファイルを生成する事ができる、旨説明を修正しています。Rails 7.2ではデフォルトでは生成されないようになっている為。
Fix infinite loop computing ERB dependencies with non-trailing interpolations
actionview/lib/action_view/dependency_tracker/erb_tracker.rb
の修正です。
non-trailing interpolations(e.g. test/\#{bucket.bucketable_name.pluralize}/status/show
)のERBの依存関係の取得処理が無限ループになってしまうバグがあったのを修正しています。
Fix uniqueness validations defined on singleton classes
activerecord/lib/active_record/validations/uniqueness.rb
の修正です。
uniqueness validationsをsingleton classで定義するとNoMethodError
でエラーになるバグがあったのを修正しています。
Kamal 2 compatible configuration (#52883)
railtiesの修正です。
Kamal向けの設定ファイルを、Kamal v2向けの内容に更新しています。
Use the correct format for kamal secrets in the comment
railties/lib/rails/generators/rails/app/templates/kamal-secrets.tt
の修正です。
Kamalのsecretsを取得するコマンドのexampleが、実際には動作しないコマンドになっていたのを修正しています。