なるようになるブログ

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

rails commit log流し読み(2025/07/07)

2025/07/07分のコミットです。

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


Deprecate ActionController.escape_json_responses= at the method

actionpack/lib/action_controller/metal/renderers.rb、 actionpack/lib/action_controller/railtie.rbの修正です。

Don't always escape JSON when calling render json:でdeprecatedになったaction_controller.escape_json_responsesの設定について、deprecated messeageをinitilizerで出力していたのを、メソッド(escape_json_responses=)実行時に出力するよう修正しています。デフォルトの値を使用している場合にdeprecated messageが出力されないようにする為。