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用のセットアップ処理の方が実行コストよりも高い(可能性がある)為。