2020/11/06分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #34985 from schuetzm/add-note-about-application-config
railties/lib/rails/generators/rails/app/templates/config/application.rb.tt
の修正です。
configについての説明を修正、及び、config.time_zone
、config.eager_load_paths
を設定した場合のexampleを追加しています。これらはconfig/application.rb
で設定する必要がある(initializerで設定しても期待通りに動作しない)為。
Merge pull request #40490 from kirs/cache-instrument-store-local
activesupport/lib/active_support/cache.rb
、
activesupport/lib/active_support/cache/strategy/local_cache.rb
の修正です。
local cacheで設定したinstrumentのstore名が、local cacheになるようになっていなかったのを修正しています。
{SchemaMigration,InternalMetadata}.create_table
ensure the table is to be created
activerecord/lib/active_record/internal_metadata.rb
、
activerecord/lib/active_record/schema_migration.rb
の修正です。
SchemaMigration
、及び、InternalMetadata
について、schema cachenに影響の受けずに作成処理が行われるよう修正しています。実際にテーブルが無いのにschema cacheにデータがある場合(テーブルの作成処理をロールバックした時)にテーブルの作成処理が出来るようにする為。
Merge pull request #40540 from sekiyama58/has_many_find_multi_id_inverse_of
activerecord/lib/active_record/relation/spawn_methods.rb
の修正です。
has_many associationで、親から子のインスタンスに対してfindを複数id指定して実行した場合に、inverse recordが設定されないバグがあったのを修正しています。