なるようになるブログ

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

rails commit log流し読み(2021/11/17)

2021/11/17分のコミットです。

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


Fix a regression in association preloader

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

Fix STI in available_records causing new instances of records to be loaded from databaseの対応により、preloaderに同じidを持つ違うclassのrecordを指定した場合に、存在しないrecordの読み込みを行おうとしてしまう、というリグレッションが発生してしまっていたのを修正しています。


[ci skip] Rephrase SQL Injection countermeasure - positional & named handlers

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

SQL Injectionの項にあるSQL Injectionの対策について説明している箇所の言い回しを修正しています。


Upgrade jsbundling-rails version to support the source maps. (#43656)

railties/lib/rails/generators/app_base.rbの修正です。

rails newで生成するアプリケーションのGemfile内のjsbundling-railsのバージョン指定を">= 0.2.0"に修正しています。source mapをサポートしているのが0.2.0以上の為。


Not needed

railties/CHANGELOG.mdの修正です。

先の対応で不要なCHANGELOGの更新が行われていたのを削除しています。