title: How to handle 404 Not Found in Ember REST Adapter
body: <p>I am using Ember 1.0.0 pre and use the REST Adapter to fetch an object from a Rails API.
  I render a template if the object is found via the REST API and set the found model object as the model of the view. In order to do that, I use the model hook in the Route and everything seems to work fine.
  Naturally, I want to render some special 404 template/view if the model object is not found.
  The problem is that the model hook stops the processing if the REST adapter returns an error.</p>
  
  <p>I saw in the ember-data roadmap that error handling is not yet supported.</p>
  
  <p><strong>What I don't understand is why does Ember not call the redirect hook in the Route if an error occurs.</strong> (And how can I handle such errors?)</p>
  
  <p>Here is the Route:</p>
  
  <pre><code>App.MyRoute = Ember.Route.extend({
    renderTemplate: function() {
    this.render('mymodel')    
    },
    model: function(params) {
      return App.MyModel.find(params.id);
    },
    redirect: function() {
      // I want to redirect to another route
      // if the model is not found via the find method.
      // However, this hook is not called if the previous one
      // does not return an object
    }
  })
  </code></pre>
  
  <p>Is there any other solution? I know, I can check in the template if the model of the view is null and then render a partial template, but the problem is that the view is not rendered at all (I assume exactly because of the same problem).</p>