2022/03/19分のコミットです。
CHANGELOGへの追加はありませんでした。
Update all counters in reset_counters
using a single query
activerecord/lib/active_record/counter_cache.rb
の修正です。
reset_counters
メソッドでcounter毎にqueryを実行していたのを、1つのqueryで全てのcounterのリセットを行うよう修正しています。
Merge pull request #44718 from ghousemohamed/extend-test-cases-for-object-in-activesupport
activesupport/test/core_ext/object/acts_like_test.rb
の修正です。
acts_like?(:string)
についてのテストを追加しています。
Use duck_string instead of string
activesupport/test/core_ext/object/acts_like_test.rb
の修正です。
先に追加されたacts_like?
のテストで、テスト対象のオブジェクトが誤っていたのを修正しています。
Merge pull request #44608 from MGatner/problem-json
actionpack/lib/action_dispatch/http/mime_types.rb
の修正です。
application/json
のsubtypeとして、application/problem+json
を追加しています。