2020/12/18分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
- Remove deprecated
database
kwarg fromconnected_to
. - Restore possibility of passing
false
to :polymorphic option ofbelongs_to
.
Merge pull request #40530 from eileencodes/remove-database-key-from-connected_to
activerecord/lib/active_record/connection_handling.rb
の修正です。
deprecatedになっていたconnected_to
のdatabase
引数を削除しています。
Merge pull request #40791 from michelson/patch-1
rails guideのRuby on Rails 6.1 Release Notes
の修正です。
Active Storage
の項に、blobにカラムが追加になっている事と、カラムの追加にはbin/rails app:update
を実行する必要がある旨説明を追加しています。
Update changelog and release notes
activerecord/CHANGELOG.md
、Rails guideのRuby on Rails 6.1 Release Notes
の修正です。
先のconnected_to
のdatabase
引数の削除についてCHANGELOGに追加、及び、Ruby on Rails 6.1 Release Notesに、connected_to
のdeprecatedになった引数の説明及びconnection handlingの挙動についての説明を追加しています。
Start Rails 6.2 upgrade and release notes
rails guideの修正です。
Rails 6.2用のupgrade及びrelease notesを準備しています。
Rails guideのRuby on Rails 6.1 Release Notes
の修正です。
フォーマットの修正を行っています。
Fix release date
guides/source/documents.yaml
の修正です。
v6.1のリリース日が誤っていたのを修正しています。
Revert "Merge pull request #39472"
config.active_job
に不正なkeyが指定された場合にエラーになるよう修正した、Do not swallow unknown configuration options for ActiveJobをRevertしています。
eager loadが有効化されている場合に、config.active_job.queue_name_prefix
の指定が正しく動作しなくなってしまった為。
allow passing false to :polymorphic option of belongs_to
activerecord/lib/active_record/associations/builder/belongs_to.rb
の修正です。
belongs_to
のpolymorphic
オプションにfalse
を指定すると、エラーになってしまうバグがあったのを修正しています。
Don't skip money's type cast for pluck and calculations
activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb
の修正です。
PostgreSQLのmoney型のカラムのデータをsum
、pluck
した場合に、numberではなくStringの値が返ってくるバグがあったのを修正しています。