title: Rails 6.1 will return Content-Type header without modification ... use `#media_type` instead
body: <p>What does this deprecation message mean for me to change when it references this block?</p>
  
  <pre><code>def json_response(object, status = :ok)
    render json: object, status: status
  end
  </code></pre>
  
  <p><strong>Edit</strong></p>
  
  <p>The message:</p>
  
  <blockquote>
    <p>Rails 6.1 will return Content-Type header without modification … use
    <code>#media_type</code> instead</p>
  </blockquote>