2023/02/03分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #47220 from rafaelfranca/rm-connection-to-tag-logs
Active Recordの修正です。
query transformersにconnectionを渡すよう修正しています。これにより、timeoutなどのconnectionのsettingによりqueryのtransformが出来るようになっています。
Add missing languages to code blocks in guides [ci-skip]
rails guideの修正です。
languageの指定がないcode blockにlanguageの指定を行うよう修正しています。
activerecord/CHANGELOG.md
の修正です。
now
をno
にタイポしていたのを修正しています。
Add missing language to markdown code blocks in guides [ci-skip]
rails guideの修正です。
languageの指定がないcode blockにlanguageの指定を行うよう修正しています。
Support composite foreign key association assignments
Active Recordの修正です。
Support composite foreign keys in associationsの続きとして、composite foreign keyを使用しているassociationのassignを行えるよう修正しています。
Merge pull request #47210 from jonathanhefner/test_command-always-be-prepared
railtitesの修正です。
bin/rails test
に任意のファイル名やテスト名を指定して実行する場合以外は、テスト実行前にtest:prepare
によるセットアップ処理が行われるよう修正しています。
railties/lib/rails/command/base.rb
、
railties/lib/rails/commands/runner/runner_command.rb
の修正です。
commandのhelpを表示するのに独自の処理を行っていたのを、Thorのhelp出力用の機能を使用するよう修正しています。
Rely on Thor for credentials command help
railties/lib/rails/commands/credentials/credentials_command.rb
の修正です。
credentials commandでhelpを表示するのにThorの機能を使用するよう修正しています。
Rely on Thor for encrypted command help
railties/lib/rails/commands/encrypted/encrypted_command.rb
の修正です。
encrypted commandでhelpを表示するのにThorの機能を使用するよう修正しています。
Rely on Thor for secrets command help
railties/lib/rails/commands/secrets/secrets_command.rb
の修正です。
secrets commandでhelpを表示するのにThorの機能を使用するよう修正しています。
Set test reporter default executable to bin/rails
railties/lib/rails/test_unit/reporter.rb
の修正です。
test reporterのdefaultのexcutableとしてrails
が指定されていたのを、bin/rails
を指定するよう修正しています。ヘルプ等コマンド名が表示される際に、bin/rails
が表示されるようにする為。
Avoid assuming that save is instant
activerecord/test/cases/dirty_test.rb
の修正です。
データの保存処理に数ミリ秒掛った場合にエラーになってしまうテストがあったのを修正しています。
Fix double blank lines in generated production.rb
railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
の修正です。
rails new
で生成されるconfig/environments/production.rb
から不要な空行を削除しています。