なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2022/06/04)

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を使用するよう修正しています。