method

escape_json_responses=

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

escape_json_responses=(value)
public

No documentation available.

# 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