なるようになるブログ

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

rails commit log流し読み(2023/02/21)

2023/02/21分のコミットです。

CHANGELOGへの追加はありませんでした。


Fix guides generator

guides/rails_guides/generator.rbの修正です。

guideのHTML生成用のタスク(guides:generate:html)を実行するとエラーになってしまっていたのを修正しています。


Debugging guide: Improve grammar and accuracy.

rails guideのDebugging Rails Applicationsの修正です。

guide全体の言い回しやグラマーの修正を行っています。


Merge pull request #46579 from joshuay03/fix-through-association-incorrect-preloading

activerecord/lib/active_record/associations/preloader/through_association.rbの修正です。

middle associationが既にload済みのthrough associationのrecordをpreloadした際に、recordが正しく取得出来ないバグがあったのを修正しています。


Add config.hosts and config.host_authorization to new app templates (#47447)

railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.ttの修正です。

DNS rebinding protectionを有効化するexampleと、DNS rebinding protectionをhealth check用のURLでは無効化する場合のexampleをtemplateに追加しています。