なるようになるブログ

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

rails commit log流し読み(2023/08/17)

2023/08/17分のコミットです。

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


ERB is no longer in use here since c2e756a944fd3ca2efa58bd285c0e75e0b4794ab

actionpack/lib/action_dispatch/middleware/actionable_exceptions.rbの修正です。

使用していないerbのrequireを削除しています。


Do not suggest adding non-existent gems to Gemfile

railties/lib/rails/commands/server/server_command.rbの修正です。

rails server起動時に、指定されたRack Handlerが存在しない場合に表示するエラーメッセージで、存在しないgem名をエラーメッセージで表示してしまっていたのを修正しています。


Fix method name to check_all_pending!

activerecord/CHANGELOG.mdactiverecord/lib/active_record/migration.rbの修正です。

check_all_pending!check_pending_migrations!にタイポしていたのを修正しています。


Do not codespell yarn.lock

.github/workflows/lint.ymlの修正です。

yarn.lockに対してcodespellを実行しないよう修正しています。ライブラリ名にはスペルとしては正しく無い名前が使われている事がある為。


Add test coverage for RedisCacheStore with Redis::Distributed / ConnectionPool

Active Supportの修正です。

RedisCacheStoreでRedis::Distributed + ConnectionPoolを使用した場合のテストを追加、及び、Redis::Distributedを使用している場合のsupports_expire_nx?メソッドでのチェック処理が、接続先を複数指定された場合に正しくチェック出来てなかったのを修正しています。


Merge pull request #48913 from ipc103/fix-parent-deprecation-warning

activemodel/lib/active_model/attribute_methods.rbactiverecord/lib/active_record/attribute_methods.rbの修正です。

Call proxy methods from alias_attribute generated methodsで対応された、alias_attributeメソッドのaliasで呼び出されるよう明示的にメソッドの定義が必要なバ場合に出力するメッセージが、処理が定義されているクラスの子クラスで出力されてしまっていたのを出力されないよう修正しています。親クラスで処理が定義されている場合、そもそもメッセージを出力する必要が無いため。