なるようになるブログ

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

rails commit log流し読み(2020/10/28)

2020/10/28分のコミットです。

CHANGELOGにのったコミットは以下の通りです。

activesupport/CHANGELOG.md


improve param_encoding docs

actionpack/lib/action_controller/metal/parameter_encoding.rbactionpack/lib/action_dispatch/request/utils.rbの修正です。

param_encodingメソッドのdocの修正、及び、コメントアウトされていた不要なコードを削除しています。


Remove keys from local_cache in RedisCacheStore#delete_matched

activesupport/lib/active_support/cache/strategy/local_cache.rbの修正です。 local cacheを使用している場合に、RedisCacheStore#delete_matchedメソッドを使用してもlocal cacheが削除されないバグがあったのを修正しています。


avoid calling custom_encoding_for when unused

Action Packの修正です。

param_encodingを使用していない場合、不要なencodingの設定処理を行わないよう修正しています。


Copy-edit the documentation [ci skip]

actionpack/lib/action_controller/metal/parameter_encoding.rbのdocの修正です。

param_encodingメソッドのdocのフォーマットの修正を行っています。


Test find_signed/! on Relation

activerecord/test/cases/signed_id_test.rbの修正です。

Relationに対してfind_signed(!)メソッドを使用した場合のテストを追加しています。


Fix a typo in new_framework_defaults_6_1.rb

railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_6_1.rb.ttの修正です。

new_framework_defaults_6_1.rbのコメント内のタイポを修正しています。