title: rescue_from not working with ActionController::BadRequest
body: <p>Using Rails 4, I can't get <code>rescue_from</code> to work with <code>ActionController::BadRequest</code>:</p>
  
  <p><strong>application_controller.rb</strong></p>
  
  <pre><code>  rescue_from ActionController::BadRequest, with: :raise_bad_request
  
    def raise_bad_request
      render(nothing: true, status: 404)
    end
  </code></pre>