なるようになるブログ

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

rails commit log流し読み(2025/02/14)

2025/02/14分のコミットです。

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


Fix on_rotation for find_signed! & find_signed

activerecord/lib/active_record/signed_id.rbの修正です。

find_signedfind_signed!メソッドで、メソッドの引数のon_rotationを指定しなかった場合に、初期化時に指定したon_rotationが使用されるよう修正しています。


[ci skip] Tweak the Action Mailer callbacks documentation:

rails guideのAction Mailer Basicsの修正です。

Action Mailer Callbacksセクションに、callbackが実行されるタイミングについての説明を追加しています。


Add MessageVerifiers#rotate block form signature [ci-skip]

activesupport/lib/active_support/message_verifiers.rbのdocの修正です。

MessageVerifiers#rotateメソッドのdocに、引数にblockを指定した場合のsignatureを追加しています。


Use ::new instead of #initialize for ghost methods [ci-skip]

activesupport/lib/active_support/message_encryptors.rbactivesupport/lib/active_support/message_verifiers.rbのdocの修正です。

初期化処理を行うメソッドのdocを、#initializeから::newに修正しています。


Add {MessageEncryptors,MessageVerifiers}#prepend

Active Supportの修正です。

ActiveSupport::MessageEncryptors、及び、ActiveSupport::MessageVerifiers#prependメソッドを追加しています。#rotateと同じような振る舞いをするメソッドですが、#rotateと異なり、処理をリストの先頭に追加します。そのため、Rails.application.message_verifiersのように、デフォルトで設定しているverifierより先に行う処理を設定することができるようになっています。


Merge pull request #54526 from skipkayhil/hm-avoid-array-methods

Action Packの修正です。

Journeyについて、オブジェクト生成数の削減、iterate処理の削減、等の性能改善の為のリファクタリングを行なっています。


Update Saucelabs configuration https://github.com/rails/rails/commit/1312c0cb8e064fcba28d458b06c8cd3e707efb90

2025-02-14 18:29:51 +0900


Merge pull request #54531 from byroot/action-cable-upgrade-safari https://github.com/rails/rails/commit/9aadd2f9bcf728a2888ef0d229dee8a60dbd2313

2025-02-14 18:33:11 +0900