なるようになるブログ

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

rails commit log流し読み(2016/03/13)

2016/03/13分のコミットです。

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


Add explanation about accepts_nested_attributes_for keys in the strong parameters documentation [skip ci]

actionpack/lib/action_controller/metal/strong_parameters.rbのdocの修正です。

StrongParametersのdoc内にあるnested attributesについて説明している箇所で、更新処理に必要なパラメータ(:id:_destroy)についての説明が不足していたのを追加しています。


silence deprecation message for dynamic controller and actions on Action View test

actionview/test/template/url_helper_test.rbの修正です。

Deprecate :controller and :action path parametersで、routes.rbのpath parametersに:controller:actionを使用するのがdeprecateになたのですが、Action Viewのテストで使用している箇所があり、不要なwarningが出ないようActiveSupport::Deprecation.silenceで処理を囲むよう修正しています。


add headers to payload list [ci skip]

rails guideのActive Support Instrumentationの修正です。

start_processing.action_controllerprocess_action.action_controller hookのpayloadのリストに、Pass headers through to payload for logging. by garethson · Pull Request #24115 · rails/railsで追加されたheadersを追加しています。