なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2022/01/04)

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 Noteswork_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が出力されていたのを修正しています。