2022/01/04分のコミットです。
CHANGELOGへの追加はありませんでした。
Update Postgres guide for ActiveRecord::Enum support
rails guideのActive Record and PostgreSQL
の修正です。
Enumerated Types
セクションについて、custom enum typeが使える前提で説明、及び、exampleコードを更新しています。
Merge pull request #44040 from kmasuda-aiming/extract-on-update-current-timestamp
activerecord/lib/active_record/connection_adapters/mysql/schema_statements.rb
の修正です。
on update CURRENT_TIMESTAMP
がextra fieldに含まれている場合に、schemaのdefault
にも同じ設定を含むよう修正しています。
Revise Turbo-related info in Getting Started guide [ci-skip]
rails guideのGetting Started with Rails
の修正です。
Turboの最新の更新内容に合わせて、各箇所の説明やexampleコードを修正しています。
Show 7.0 Release Notes in the guides index
guides/source/documents.yaml
の修正です。
7.0 Release Notes
のwork_in_progress
の指定を削除して、guide indexに表示されるようにしています。
solve: undefined local variable or method 'connection'
activerecord/test/cases/associations/has_one_through_disable_joins_associations_test.rb
の修正です。
メソッド呼び出し時のレシーバーの指定が漏れていたのを修正しています。
Fix deprecation warning caused by 75fea0bd9590c3ea9447542c5829cf43fe874374
activerecord/test/cases/adapters/mysql2/mysql2_adapter_test.rb
の修正です。
テスト実行時に、Add deprecation warning to mysql2 adapter prepared_statements defaultで追加されたprepared_statements
に関するdeprecate warningが出力されていたのを修正しています。