2020/04/25分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
- Support bulk insert/upsert on relation to preserve scope values.
- Fix aggregate functions to return numeric value consistently even on custom attribute type.
Action Packの修正です。
使用していないjourney関係のコードを削除しています。
Support bulk insert/upsert on relation to preserve scope values
Active Recordの修正です。
relationでbulk insert / upsert関連のメソッドを使用出来るよう対応しています。
Fix autosave association bug with ActiveStorage::Attachments
activestorage/lib/active_storage/attached/model.rbの修正です。
autosave associationでattachmentを変更した場合に、変更が正しく検知出来ないバグがあったのを修正しています。
Build GTG::Simulator memos in a single loop
actionpack/lib/action_dispatch/journey/gtg/simulator.rbの修正です。
`GTG::Simulatorのメモ化のループ処理を減らすようリファクタリングしています。
Use supports_datetime_with_precision? rather than subsecond_precision_supported?
Active Recordのテストの修正です。
supports_datetime_with_precision?をラップしたsubsecond_precision_supported?メソッドを定義して、subsecondのprecisionをサポートしているかどうかをチェックしていたのを、直接supports_datetime_with_precision?を使用するよう修正しています。
Remove unmaintained gem from README [ci skip]
activejob/README.mdの修正です。
メンテナンスされていないactivejob-stats gemについてのリンクを削除しています。
Fix aggregate functions to return numeric value consistently even on custom attribute type
activerecord/lib/active_record/relation/calculations.rbの修正です。
custom attribute typeを一部のaggregate functionに指定した場合に、戻り値が数値ではなかった(キャストされた値が返るようになっていた)のを、必ず戻り値は数値になるよう修正しています。
adds missing require [Fixes #39042]
activesupport/lib/active_support/core_ext/module/introspection.rbの修正です。
不足していたactive_support/core_ext/string/filtersのrequireを追加しています。
Improve WhereClause#ast to make concise Arel ast
activerecord/lib/active_record/associations/join_dependency/join_association.rb、
activerecord/lib/active_record/relation/where_clause.rbの修正です。
WhereClause#astメソッドで既にArel nodeが存在する場合、不要なArel::Nodes::Andでのラップ処理を行わないよう修正しています。