なるようになるブログ

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

rails commit log流し読み(2024/03/06)

2024/03/06分のコミットです。

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


Merge pull request #51247 from Earlopain/fix-51228

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

Content-Typeに不正な値が指定されていた場合に、ShowExceptions middlewareでmime typeの取得でエラーになってしまうバグがあったのを修正しています。


update docs to make it less confusing and in sync with rails guide

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

ActiveRecord::DelegatedType moduleのdoc内のexampleコードのSchemaに、created_atupdated_atを追加しています。rails guideにあるexampleコードと内容を合わせる為。


More complicated tag helper example [ci skip]

actionview/lib/action_view/helpers/tag_helper.rbのdocの修正です。

tagメソッドのdocにblockとtagのattributeを同時に使用する場合のexampleを追加しています。