なるようになるブログ

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

rails commit log流し読み(2021/10/09)

2021/10/09分のコミットです。

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


Merge pull request #43282 from theojulienne/guard-against-instrumentation-exceptions

Active Supportの修正です。

ActiveSupport::Notificationsでsubscriberの処理を実行する際に、subscriber内でExceptionが発生したら処理が全てストップしていた(Exceptionがそのままraiseしていた)のを、Exceptionのハンドリングを追加し、全てのsubscriberの処理が実行されるよう修正しています。


Revert STI samples in autoloading guide

rails guideのAutoloading and Reloading Constantsの修正です。

More example in the docs about STI and autoloadingDocument easier way to preload STIsで修正したSTIのsampleコードを、元のコードに戻しています。Circular dependenciesにより、修正した内容は正しく動作しないコードだった為。