title: Ember Data + JSONAPI - Error: The adapter rejected the commit because it was invalid
body: <p>I am attempting to submit invalid data via a <code>POST</code> request to a JSONAPI-based API with Ember Data 2.10.</p>
  
  <p>The API responds correctly with a <code>422</code> code and this payload in the response (note that these are <a href="http://jsonapi.org/examples/#error-objects" rel="nofollow noreferrer">error objects</a>, not a "normal" JSONAPI payload response):</p>
  
  <pre><code>{
    "errors": [{
      "title": "Title can't be blank",
      "id": "title",
      "code": "100",
      "source": {
        "pointer": "/data/attributes/title"
      },
      "status": "422"
    }, {
      "title": "Layout can't be blank",
      "id": "layout",
      "code": "100",
      "source": {
        "pointer": "/data/relationships/layout"
      },
      "status": "422"
    }, {
      "title": "Page type can't be blank",
      "id": "page-type",
      "code": "100",
      "source": {
        "pointer": "/data/attributes/page-type"
      },
      "status": "422"
    }]
  }
  </code></pre>
  
  <p>The errors seem to be loading mostly OK into the model, but I get this error in the console:</p>
  
  <pre><code>ember.debug.js:19160 Error: The adapter rejected the commit because it was invalid
    at ErrorClass.EmberError (ember.debug.js:19083)
    at ErrorClass.AdapterError (errors.js:23)
    at ErrorClass (errors.js:49)
    at Class.handleResponse (rest.js:821)
    at Class.handleResponse (data-adapter-mixin.js:100)
    at Class.superWrapper [as handleResponse] (ember.debug.js:24805)
    at ajaxError (rest.js:1342)
    at Class.hash.error (rest.js:916)
    at fire (jquery.js:3305)
    at Object.fireWith [as rejectWith] (jquery.js:3435)
  </code></pre>
  
  <p>What is causing this error? Is there something wrong in the JSON payload being returned by the server? One thing that changed recently was the introduction of a pointer to <code>/data/relationships/layout</code>; is Ember Data choking on that?</p>
  
  <p>I may also note that submitting similar bad data via a <code>PATCH</code> request does not trigger this error in the console.</p>
  
  <p>The main problem is that this is causing an acceptance test to fail, and I can't seem to find a way around it. It would be nice to be able to test this behavior in the application, but I'll just need to leave it commented out for now.</p>
  
  <p>I've also tried this on Ember Data 2.7 before updating to 2.10 to see if that would fix it. Getting the same error with both versions.</p>