2021/03/23分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Revert "Fix schema for members"
テスト用のデータの型が誤っているのを修正した、Fix schema for members をRevertしています。
型が違うのは意図的だった(foreign_keyがStringの場合もロード出来る事を確認するテストだった)為。
Fix the test case for #14855 to catch a future regression correctly
activerecord/test/cases/associations/belongs_to_associations_test.rbの修正です。
polymorphic associationでforeign_keyがStringの場合のテストが期待通りにテストされてなかったのを修正しています。
rails guideのRuby on Rails 6.1 Release Notesの修正です。
I18n.default_localeをI18n.default_localにタイポしていたのを修正しています。
Batch queries that are the same but are using different extension
activerecord/lib/active_record/associations/preloader/association.rb、
activerecord/lib/active_record/relation.rbの修正です。
preload batche処理で、extending、 skip_query_cache、strict_loadingが違うが生成されるqueryが同じ場合、batch処理でqueryがマージされるよう修正しています。
Merge pull request #41080 from ankurp/standardrb-fixes
railtiesの修正です。
generatorが生成するコードでシングルクオートを使用していた箇所を、ダブルクォートを使用するよう修正しています。
Remove non-project specific entry from gitignore
.gitignoreの修正です。
先のコミットで誤って.gitignoreに.DS_Storeが追加されてしまっていたのを削除しています。
More consistent quotes in template files
railtiesの修正です。
generatorが生成するコードでシングルクオートを使用していた箇所が残っていたのを、ダブルクォートを使用するよう修正しています。
Really make OrderedHash private to the framework
activesupport/lib/active_support/ordered_hash.rbのdocの修正です。
OrderedHashに:nodoc:を指定して、API docに表示されないよう修正しています。
Fix test_from_trusted_xml_allows_symbol_and_yaml_types failure
activesupport/test/core_ext/hash_ext_test.rbの修正です。
不足していたactive_support/ordered_hashのrequireを追加しています。
Parsing type="yaml" node requires require "yaml"
activesupport/test/core_ext/hash_ext_test.rbの修正です。
不足していたのはactive_support/ordered_hashではなく、yamlだったようで、active_support/ordered_hashのrequireを削除し、代わりにyamlのrequireを追加しています。
to_yaml requires require "yaml"
activesupport/test/hash_with_indifferent_access_test.rbの修正です。
不足していたyamlのrequireを追加しています。
Fix WhereClause#extract_attributes to work it with a string where clause
activerecord/lib/active_record/relation/where_clause.rbの修正です。
where clauseにStringが指定された場合に、WhereClause#extract_attributesがエラーになってしまうバグがあったのを修正しています。
Merge pull request #41736 from lairtonmendes/6-1-stable
rails guideのAction Mailer Basicsの修正です。
Walkthrough to Generating a Mailerの項にあるgeneratorのexampleから、不要なsuffixの指定を削除しています。
Use triple-dot delegation in ForkTracker
activesupport/lib/active_support/fork_tracker.rbの修正です。
引数のdelegationに...を使用するよう修正しています。
Merge pull request #41713 from henrik/lookup
docの修正です。
lookup -> look upに修正しています。
Merge pull request #41684 from ricardotk002/disable-parallel-testing
Active Support、railtiesの修正です。
test runnerに個別のファイルを指定された場合(e.g. ./bin/rails test test/controllers/my_controller_test.rb)はparallelization処理を行わないよう修正しています。テスト対象が1つの場合、parallel test用のセットアップ処理の方が実行コストよりも高い(可能性がある)為。