Skip to content

Instantly share code, notes, and snippets.

@Omnipresent
Last active December 21, 2015 10:09
Show Gist options
  • Save Omnipresent/6289667 to your computer and use it in GitHub Desktop.
Save Omnipresent/6289667 to your computer and use it in GitHub Desktop.
{
"meta": {
"code": 200
}
"response": {
"stuff": [{
"id": 1,
"author": "someone",
"book": "some book"
},
{
"id": 2,
"author": "some author",
"book": "anotherbook"
}
]
}
}
App.Response = DS.Model.extend({
author: DS.attr("string"),
book: DS.attr("string")
});
Error: Your server returned a hash with the key response but you have no mapping for it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment