なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2022/07/26)

2022/07/26分のコミットです。

CHANGELOGへの追加はありませんでした。


Make EncryptedFile more memoization-friendly

activesupport/lib/active_support/encrypted_file.rbrailties/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のテストから、不要なサブディレクトリの作成処理を削除しています。