2022/07/26分のコミットです。
CHANGELOGへの追加はありませんでした。
Make EncryptedFile more memoization-friendly
activesupport/lib/active_support/encrypted_file.rb
、
railties/lib/rails/commands/credentials/credentials_command.rb
の修正です。
EncryptedFile
関連の処理で値をキャッシュするよう修正しています。
Add CHANGELOG entry for #43688 [ci-skip]
activemodel/CHANGELOG.md
の修正です。
has_secure_password
でpassword challengeを行えるよう修正した、Support password challenge via has_secure_passwordの対応についてCHANGELOGのエントリーを追加しています。
Clean up hook generator method when hook is removed
railties/lib/rails/generators/base.rb
の修正です。
generatorのhookが削除された際に、そのhook用のgenerator methodも削除するよう修正しています。
Mention Arel.sql
in update_all
docs [docs]
activerecord/lib/active_record/relation.rb
のdocの修正です。
update_all
メソッドのdocに、updates
パラメータに指定した値はtype cast処理が行われる事、及び、type castを避けたい場合はArel.sql
を使うよう説明を追加しています。
Remove unneeded subdirectories in generator tests
railties/test/generators/app_generator_test.rb
の修正です。
generatorのテストから、不要なサブディレクトリの作成処理を削除しています。