なるようになるブログ

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

rails commit log流し読み(2017/04/22)

2017/04/22分のコミットです。

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


Configure form_with_generates_remote_forms in its own initializer

actionview/lib/action_view/railtie.rbの修正です。

config.action_view.form_with_generates_remote_formsに設定した値をActionView::Helpers::FormHelper.form_with_generates_remote_formsに反映する処理が漏れていたので追加しています。


Add note about #26929 in the upgrade guide

rails guideのA Guide for Upgrading Ruby on Railsの修正です。

secrets.ymlのkeyを全てsymbolとして読み込むようにした対応(deep symbolize keys on secrets.yml)について、Upgrading guideに説明を追加しています。


Set to form_with_generates_remote_forms only when config is explicitly specified

actionview/lib/action_view/railtie.rbの修正です。

config.action_view.form_with_generates_remote_formsを指定していない場合に、form_withメソッドのデフォルトの挙動が変わってしまう(remote formを生成しない)バグがあったのを修正しています。