In Rails, what is the best way to return a RecordNotFound Error from a Model.find call in JSON? <p>What should be the right response for a RecordNotFound Error when doing something like this:</p> <pre><code>def destroy @post = current_user.posts.find(params[:id]) @post.destroy head :no_content end </code></pre>