I think it makes a little bit more sense to use a snippet like this if it gets integrated into `ApplicationController` with my upcoming pull request:

```ruby
  def render_not_found
    respond_to do |format|
      format.html # Maybe add some html rendering here? Static 500.html?
      format.json { render :json => { :error => "Host not found" }, :status => 404 }
    end
  end
```