2022/01/05分のコミットです。
CHANGELOGへの追加はありませんでした。
Move ExtendedDeterministicQueries rdoc to correct namespace [ci-skip]
activerecord/lib/active_record/encryption/extended_deterministic_queries.rb
のdocの修正です。
ActiveRecord::Encryption::ExtendedDeterministicQueries
のdocがActiveRecord
のdocとして定義されてしまっていたのを修正しています。
doc: clarify usage of Object.acts_like?
activesupport/lib/active_support/core_ext/object/acts_like.rb
のdocの修正です。
Object.acts_like?
メソッドのdocの説明を修正、及び、exampleコードの追加を行っています。
Merge pull request #42630 from nickborromeo/update-association-callback-docs
activerecord/lib/active_record/associations.rb
のdocの修正です。
callbackについて説明している箇所に、レコード削除時にcallbackを実行するexampleを追加、及び、レコード削除時に実行されるcallbackについての説明を追加しています。
Add missing cookies_serializer
config default
rails guideのConfiguring Rails Applications
の修正です。
For '7.0', defaults from previous versions below and
にconfig.action_dispatch.cookies_serializer
を追加しています。
Update action cable overview docs
rails guideのAction Cable Overview
の修正です。
各箇所のグラマーの修正を行っています。
Actually run a pg_dump
in the Postgres test suite
activerecord/test/cases/tasks/postgresql_rake_test.rb
の修正です。
structure dumpのテストで、pg_dump
をmockしていたのを、実際にコマンドを実行するよう修正しています。
Update README Getting Started section
README.md
の修正です。
development環境でlocalhost:3000
にアクセスした際に表示される内容を、最新の内容に更新しています。
Merge pull request #44061 from andrehjr/keep-smtp-settings-behavior-consistent
actionmailer/lib/action_mailer/railtie.rb
の修正です。
config.action_mailer.smtp_settings
の値が、ActionMailer
classロード後に、空になってしまうバグがあったのを修正しています。
Merge pull request #43924 from jcmfernandes/message-encryptor-perf-improvements
activesupport/lib/active_support/message_encryptor.rb
、
activesupport/lib/active_support/message_verifier.rb
の修正です。
messageからencrypted dataやiv等を取得する際に、String#split
を使わないようリファクタリングしています。性能改善の為。
Update development dependencies
Gemfile
、Gemfile.lock
の修正です。
各gemを最新のバージョンに更新しています。
railtiesの修正です。
Zeitwerk
のロードを、実際に必要になるまで遅延するよう修正しています。元々はrailties/lib/rails.rb
をロードした時点でZeitwerk
もロードされるようになっていたのですが、Zeitwerk
とBundler
、Bootsnap
の組み合わせて幾つか問題が発生していました。その問題はKernel#require
をオーバーライドしている事が原因によるものだったらしく、その問題を解決する為に、遅延ロードするようにした、との事です。
参考: Uninitialized constant for nested class in sidekiq after code reload with Rails 7 and bootsnap
guides/source/documents.yaml
の修正です。
Multiple Databases with Active Record
のwork_in_progress
の指定を削除して、guide indexに表示されるようにしています。
Merge pull request #43988 from himanshugoyal-git/fix-migrations-order
activerecord/lib/active_record/tasks/database_tasks.rb
の修正です。
multi db environmentで、最新のバージョンより前の実行されていないmigrationがある場合にdb:migrate
を実行しても、その途中のmigrationが実行されない(最新のmigrationがrevertされる)バグがあったのを修正しています。