なるようになるブログ

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

rails commit log流し読み(2024/12/17)

2024/12/17分のコミットです。

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


Remove redundant codes in section 16.4 of getting_started.md

rails guideのGetting Started with Railsの修正です。

Extracting a Concernセクション内のexampleコードから、重複していたassociationの定義を削除しています。


Fix ActionDispatch::Executor to unwrap exceptions like other middlewares

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

ActionDispatch::Executorでerrorのreport処理を行う際に、ExceptionWrapperを使用してunwrapしたexceptionをreportするよう修正しています。ShowExceptionsDebugExceptionsでそのような処理を行っており、挙動を合わせる為。