2020/12/04分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #40731 from ghiculescu/patch-2
rails guideのActive Storage Overview
の修正です。
Direct Uploads
の項に、form builderを使用している場合のexampleを追加しています。
Allow custom purpose for ActiveStorage signed IDs
activestorage/app/models/active_storage/blob.rb
の修正です。
Active Storageのsigned IDに任意のpurposeを指定出来るよう修正しています。
Only execute route reloads once on boot for development environment
railties/lib/rails/application/finisher.rb
、
railties/lib/rails/application/routes_reloader.rb
の修正です。
development environmentでboot時にroute reload処理が複数回実行されてしまうバグがあったのを修正しています。
railties/lib/rails/generators/rails/app/app_generator.rb
の修正です。
変数代入処理のスペースの調整を行っています。
Impove the RoutesReloader to not expose internal API
railties/lib/rails/application/finisher.rb
、
railties/lib/rails/application/routes_reloader.rb
の修正です。
route reloaderの処理の制御にコールバックを使用していたのを、attributeを使用するよう修正しています。
railties/lib/rails/application/routes_reloader.rb
の修正です。
rubocopの設定に違反している箇所があったのを修正しています。
Merge pull request #40740 from abhaynikam/add-spec-for-action-text-warning
railties/test/generators/action_text_install_generator_test.rb
の修正です。
Action Text installerでwarningが表示される場合のテストを追加しています。
Don't use explicit references for join aliases
activerecord/lib/active_record/associations/join_dependency.rb
、
activerecord/lib/active_record/relation/predicate_builder.rb
の修正です。
join aliasesにStringのassociation nameを指定した場合もRails 6.0までの同様に動作するよう修正しています。