title: The ":nothing" option is deprecated and will be removed in Rails 5.1
body: <p>This code in rails 5</p>
  
  <pre><code>class PagesController &lt; ApplicationController
    def action
      render nothing: true
    end
  end
  </code></pre>
  
  <p>results in the following deprecation warning</p>
  
  <pre><code>DEPRECATION WARNING: :nothing` option is deprecated and will be removed in Rails 5.1. Use `head` method to respond with empty response body.
  </code></pre>
  
  <p>How do I fix this?</p>