123456789_123456789_123456789_123456789_123456789_

Module: ActionController::Renderers::DeprecatedEscapeJsonResponses

Do not use. This module is for internal use only.

Instance Attribute Summary

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