Module: ActionController::Renderers::DeprecatedEscapeJsonResponses
Do not use. This module is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | actionpack/lib/action_controller/metal/renderers.rb |
Instance Attribute Summary
- #escape_json_responses=(value) writeonly
Instance Attribute Details
#escape_json_responses=(value) (writeonly)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/renderers.rb', line 31
def escape_json_responses=(value) if value ActionController.deprecator.warn(<<~MSG.squish) Setting action_controller.escape_json_responses = true is deprecated and will have no effect in Rails 8.2. Set it to `false`, or remove the config. MSG end super end