2021/04/14分のコミットです。
CHANGELOGへの追加はありませんでした。
Lint Markdown blank lines around headings [ci-skip]
rails guideの修正です。
headingの後に空行を追加するよう修正しています。
Simplify Time.find_timezone! logic
activesupport/lib/active_support/core_ext/time/zones.rb
、
activesupport/lib/active_support/values/time_zone.rb
の修正です。
Time.find_timezone!
処理について、[]
メソッドでTZInfo::Timezone
の場合の対応も行うようリファクタリングしています。
Remove unused HstorePair
constant
activerecord/lib/active_record/connection_adapters/postgresql/oid/hstore.rb
の修正です。
使用していないHstorePair
定数を削除しています。
Merge pull request #41964 from Shopify/revert-41882-local-store-dup-value
LocalCache
でMarshal.dump
の呼び出し回数を減らすようリファクタリングした、Refactor LocalCache to avoid calling Marshal.dump as muchをRevertしています。local cacheでrace_condition_ttl
オプションを指定した場合の挙動でリグレッションが発生してしまっていた為。
Upgrade the development Gemfile.lock
Gemfile.lock
の修正です。
bundle updateを実行してGemfile.lock
を更新しています。
各ファイルにRubocopのAutocorrectを実行しています。
Add regression test for #41714
activerecord/test/cases/autosave_association_test.rb
の修正です。
null許容していないforeign key + autosaveが正しく処理される事を確認するテストを追加しています。
Merge pull request #41939 from jhawthorn/template_query_all_template_paths
Action Viewの修正です。
Add DidYouMean suggestions for missing templatesで追加されたtemplate pathのサジェスチョン処理用のメソッドで、全てのvirtual pathsを返せるよう修正しています。
Merge pull request #41945 from jbampton/fix-grammar
テスト、doc内のタイポ、及び、グラマーの修正を行っています。
Merge pull request #41960 from seanpdoyle/active-storage-ujs-upload
activestorage/app/assets/javascripts/activestorage.js
の修正です。
Active Storageでujsにsubimit
event用の処理を登録する際に、useCapture
オプションを指定するよう修正しています。 Active Storageのdirect uploads + turboを動作させる為に必要な為。