title: Rejection handler in latest ember-data (beta 1 and beta 2)
body: <p>It looks like the latest versions of ember-data removed the rejectionHandler. Here is the old code <a href="https://github.com/emberjs/data/blob/4764b5d70c41c133edcbd1822bc587483c39e180/packages/ember-data/lib/adapters/rest_adapter.js#L11-L15" rel="nofollow">https://github.com/emberjs/data/blob/4764b5d70c41c133edcbd1822bc587483c39e180/packages/ember-data/lib/adapters/rest_adapter.js#L11-L15</a> and example usage <a href="https://github.com/emberjs/data/blob/4764b5d70c41c133edcbd1822bc587483c39e180/packages/ember-data/lib/adapters/rest_adapter.js#L372" rel="nofollow">https://github.com/emberjs/data/blob/4764b5d70c41c133edcbd1822bc587483c39e180/packages/ember-data/lib/adapters/rest_adapter.js#L372</a>.</p>
  
  <p>I was using this to handle 401 unauthorized status codes from my server. Can I accomplish the same thing using the latest ember-data? I know I could pass a second function to all <code>find</code> and <code>save</code> calls to handle failure. But how to do that application wide?</p>