2020/08/15分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #40046 from composerinteralia/renaming-man
Active Recordのテストの修正です。
テスト用のmodelでManというのがあったのを、Humanにリネームしています。
Fix incorrect removal of current_shard in establish_connection
activerecord/lib/active_record/connection_handling.rbの修正です。
establish_connectionメソッドでhandlerにcurrent_shardが指定された場合に、その引数を無視してしまっていたのを、connection接続時に指定するよう修正しています。
activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rbの修正です。
connection_pool_listメソッドから不要なcompactの呼び出しを削除しています。
Fix spelling of DigitalOcean in docs
rails guideのActive Storage Overviewの修正です。
Digital Ocean -> DigitalOceanに修正しています。
Merge pull request #40043 from kamipo/fix_eager_loading_duplicated_association_part2
activerecord/lib/active_record/associations/join_dependency.rb、
activerecord/lib/active_record/associations/join_dependency/join_association.rbの修正です。
Fix incorrect result when eager loading with duplicated through association with join scopeでjoin scopeに重複しているhas many through associationsが指定されている、かつ、whereのtable名にname conditionが指定されている場合にeager loadが正しく行われないバグを修正したのですが、そのフォローアップとして、左記の状態でeager loadに指定するassociationsの順番を入れ替えた場合にeager loadが正しく動作しないケースがあったのを修正しています。
rails guideのTesting Rails Applicationsの修正です。
assert_not_in_epsilonメソッドについて説明している箇所のグラマーの修正を行っています。
Use superclass name in inspect of ActionView::Base.with_empty_template_cache
actionview/test/template/render_test.rbの修正です。
ActionView::Base.with_empty_template_cacheメソッド経由でrenderを行った際に、エラーメッセージにclass名が表示されるよう修正しています。
# before undefined method `undefined' for #<#<Class:0x012345012345>:<0x012345012345> # after undefined method `undefined' for #<ActionView::Base:0x01234502345>