2023/08/26分のコミットです。
CHANGELOGへの追加はありませんでした。
Merge pull request #49037 from etiennebarrie/fix-test-leak
activerecord/test/cases/integration_test.rb
の修正です。
param_delimiter
に関するテストで、テストでclassの値を変更していたのを、Object#with
を使用して特定のblock内でのみ値を変更するよう修正しています。
Add bigdecimal to runtime dependency
activesupport/activesupport.gemspec
の修正です。
Active Supportのruntime dependencyにbigdecimal
を追加しています。bigdecimal
はRuby 3.4でbundled gemになる予定があり、bundler経由でインストールしないとRuby 3.3でwarningメッセージが出るようになった為。
Replace repeated list literals in Getting Started guide w/ a constant (#49007)
rails guideのGetting Started with Rails
の修正です。
Using Concerns
の項にあるexampleコードで、select
タグに指定する値に定義済みの定数を使用するよう修正しています。
Merge pull request #49040 from paulreece/select_hash_sql_fix
activerecord/lib/active_record/relation/query_methods.rb
の修正です。
ActiveRecord::QueryMethods#select
にHashを指定 + Hashにtable aliaseが含まれている場合に、aliasが解決されるよう修正しています。#where
と挙動を合わせる為。