2022/06/04分のコミットです。
CHANGELOGへの追加はありませんでした。
Refactor clearing cache on handler
activerecord/lib/active_record/connection_handling.rb
の修正です。
一箇所でしか使用していないメソッドをインラインで処理を行うよう修正しています。
Omit workers and preload_app! from Puma config
railties/lib/rails/generators/rails/app/templates/config/puma.rb.tt
の修正です。
rails new
で生成するPumaのconfigからworkers
、及び、preload_app!
の設定を削除しています。
Puma 5.0からPumaがデフォルトでworkers
、及び、preload_app!
の設定を行うようになっている為。
Remove unused methods in connection handling
activerecord/lib/active_record/connection_handling.rb
の修正です。
connection handling内の使用していないメソッドを削除しています。
replace 303 status code with see_other
rails guideのGetting Started with Rails
の修正です。
http statusを指定するのに数字ではなくSymbolを使用するよう修正しています。