2024/04/29分のコミットです。
CHANGELOGへの追加はありませんでした。
Update production.rb template to provide example to exclude healthcheck from force_ssl redirect
railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
の修正です。
force_ssl
オプションを有効にしている場合に、healthcheckへのアクセスをhttpsのリダイレクト対象から除外する設定の例を追加しています。
No need to recommend spring any more as a common option
railties/lib/rails/generators/rails/app/templates/Gemfile.tt
の修正です。
rails new
で生成されるGemfileからspring
gemを削除しています。デフォルトとしてはspring
は推奨しない為、のようです。
Rails 8 will target Ruby 3.3+ only for new apps
railties/lib/rails/generators/rails/app/templates/Gemfile.tt
の修正です。
rails new
で生成されるGemfileからerror_highlight
gemを削除しています。Rails 3.2未満向けの対応であり、次のRailsのメジャーバージョンではRuby 3.3+のみサポートをする予定の為。
Usage not common enough to warrant top-line recommendation
rails new
で生成されるGemfileからrack-mini-profiler
gemを削除しています。デフォルトで推奨する程一般的ではない、という事のようです。
Merge pull request #51682 from Shopify/fix-active-support-test-case-loading-early
activesupport/lib/active_support/railtie.rb
の修正です。
ActiveSupport::TestCase.assertionless_tests_behavior
の設定処理をActiveSupport::TestCase
がロードされた際に行うよう修正しています。
Raise when a block is passed to ActiveRecord::Relation#with
activerecord/lib/active_record/relation/query_methods.rb
の修正です。
ActiveRecord::Relation#with
にblockが指定された場合に、ArgumentError
をraiseするよう修正しています。
Add period to end of comment sentences in env templates for consistency (#51677)
railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
、
railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt
の修正です。
コメントの末尾にピリオドを指定するよう修正しています。