以下の内容はhttps://y-yagi.hatenablog.com/entry/2025/09/17/050759より取得しました。


rails commit log流し読み(2025/09/16)

2025/09/16分のコミットです。

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


Prevent stack overflow in ActionText PlaintextConversion (#55025)

actiontext/lib/action_text/plain_text_conversion.rbの修正です。

Action Textの plaintext conversion処理で、変換対象のテキストが多い場合にstack overflowが発生してしまうバグがあったのを修正しています。


Return early when column are empty in WhereClause#except_predicates

activerecord/lib/active_record/relation/where_clause.rbの修正です。

WhereClause#except_predicatesで対象のcolumnが空の場合、処理を行わずearly returnするよう修正しています。処理内でarrayのオブジェクトを複数生成しており、パフォーマンス劣化の原因になる可能性がある為。


Remove outdated comment

Gemfileの修正です。

Rubocopのバージョンを何故固定しているかの説明のコメントを削除しています。現在はバージョンの固定をしていない為。


Prevent autosave association with has_one defined on child class

activerecord/lib/active_record/autosave_association.rbの修正です。

STIを使用しているクラスをpolymorphic associationで定義している場合に、親association更新時にデータの変更が無くても子associationのsave処理も実行されてしまうバグがあったのを修正しています。


Avoid clearing isolated state in live tests

actionpack/lib/action_controller/metal/live.rbactivesupport/lib/active_support/isolated_execution_state.rbの修正です。

ActionController::Live moduleがテストで処理実行後に必ずActiveSupport::IsolatedExecutionStateをclearしていたのを、clearしないよう修正しています。stateがclearされるのはテスト実行時に困るのと、テストで使用しているexecution contextでisolated stateをclearするのは処理が正しく行われなくなる可能性があるため。




以上の内容はhttps://y-yagi.hatenablog.com/entry/2025/09/17/050759より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14