2024/10/03分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #53154 from byroot/unpin-unowned-connections
activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rbの修正です。
setup_transactional_fixturesで登録されたcallbackで行ったconnectionのpin処理と、teardown_transactional_fixturesで行うそのconnectionのunpin処理が違うスレッドで行われた場合に、unpinが出来ずエラーになってしまうバグがあったのを修正しています。
Remove detailed_message shim in Rails::Command
railties/lib/rails/command.rbの修正です。
Ruby 3.1以下向けの処理を削除しています。
Fix :source_location query tag option to print full source locations
activerecord/lib/active_record/query_logs.rbの修正です。
query tag に:source_locationオプションを指定した場合に、ソースの行数が表示されないバグがあったのを修正しています。
Add clues to how you can use the local kamal network to access a db accessory on the same machine
railties/lib/rails/generators/rails/app/templates/config/deploy.yml.ttの修正です。
kamal用の設定ファイルに、同じマシンにあるDBにKamal network経由でどうやってアクセスするか説明したコメントを追加しています。
Gemfile、
railties/lib/rails/generators/rails/app/templates/Gemfile.ttの修正です。
Kamal 2.0.0.rc2を使用していたのを、Kamal 2.1.0以上を使用するよう修正しています。
Link to all methods from ActiveModel::Conversion comments
activemodel/lib/active_model/conversion.rbのdocの修正です。
ActiveModel::Conversionのdoc内のメソッドがAPI docへのリンクになるよう修正しています。
Remove error.respond_to?(:detailed_message) conditions
テストの修正です。
Ruby 3.1以下向けの処理を削除しています。
Fix log level of :retry_stopped event
activejob/lib/active_job/log_subscriber.rbの修正です。
Active Jobのretrying jobをstpoした際のevent(:retry_stopped)とretryをenqueueした際のログレベル(:enqueue_retry)が誤って設定されていたのを修正しています。