2021/02/24分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Merge pull request #41509 from m-antis/main
rails guideのActive Record Basicsの修正です。
Naming Conventionsの項、テーブル名はスネークスケースである必要がある旨説明を追加しています。
Require a for config.cache_store = :file_store
activesupport/lib/active_support/cache.rb、
activesupport/lib/active_support/cache/file_store.rb`の修正です。
cache storeにfile_storeを指定 + pathの指定が無い場合に、アプリケーションのルートディレクトリにキャッシュファイルが作成されてしまうバグがあったのを修正しています。
Just adding an allow all robots.txt file
guides/assets/robots.txtの修正です。
rails guideのrobots.txtを追加しています。
Arel::Nodes::BindParam and Arel::Nodes::Quoted are a subclass of the Arel::Nodes::Node
activerecord/lib/arel/nodes/casted.rbの修正です。
Casted.build_quotedメソッドのclassチェックからArel::Nodes::BindParamとArel::Nodes::Quotedを削除しています。親クラスのArel::Nodes::Nodeを指定済みな為。
[ci skip] Note dangerous use of redirect_to
actionpack/lib/action_controller/metal/redirecting.rbのdoc及びrails guideのSecuring Rails Applicationsの修正です。
redirect_toにユーザが指定した値をそのまま渡すのは危険である旨注意を追加しています。
Merge pull request #41496 from jhawthorn/preloader_batch
activerecord/lib/active_record/associations/preloader.rb、
activerecord/lib/active_record/associations/preloader/batch.rbの修正です。
Batch Preloader::Association queries having similar queriesのフォローアップとして、子preloadのqueryについても類似のqueryはmergeするよう修正しています。
Load timesetamps on join tables for has_many :through fixtures
activerecord/lib/active_record/fixture_set/table_row.rbの修正です。
has_many :through用のfixtureをloadした際に、join tableのcreated_at / updated_atも設定するよう修正しています。
Fix documentation for joins across clusters
rails guideのMultiple Databases with Active Recordの修正です。
Joining Across Databasesの項で、クラスター間のjoinをRails 6.1でサポートする旨説明がされていたのですが、実際はまだサポートされていない、かつ、いつサポートするかを確約出来ないので、アプリケーション側で対応する必要がある旨説明を修正しています。