{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/12846","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/12846/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/12846/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/12846/events","html_url":"https://github.com/emberjs/ember.js/pull/12846","id":127727358,"number":12846,"title":"Fix models is undefined","user":{"login":"mohlek","id":266946,"avatar_url":"https://avatars.githubusercontent.com/u/266946?v=3","gravatar_id":"","url":"https://api.github.com/users/mohlek","html_url":"https://github.com/mohlek","followers_url":"https://api.github.com/users/mohlek/followers","following_url":"https://api.github.com/users/mohlek/following{/other_user}","gists_url":"https://api.github.com/users/mohlek/gists{/gist_id}","starred_url":"https://api.github.com/users/mohlek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohlek/subscriptions","organizations_url":"https://api.github.com/users/mohlek/orgs","repos_url":"https://api.github.com/users/mohlek/repos","events_url":"https://api.github.com/users/mohlek/events{/privacy}","received_events_url":"https://api.github.com/users/mohlek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-20T16:53:12Z","updated_at":"2016-01-20T16:58:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/emberjs/ember.js/pulls/12846","html_url":"https://github.com/emberjs/ember.js/pull/12846","diff_url":"https://github.com/emberjs/ember.js/pull/12846.diff","patch_url":"https://github.com/emberjs/ember.js/pull/12846.patch"},"body":"Fixes error when model is undefined\r\n\r\n#12845"},"comment":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/comments/173273015","html_url":"https://github.com/emberjs/ember.js/pull/12846#issuecomment-173273015","issue_url":"https://api.github.com/repos/emberjs/ember.js/issues/12846","id":173273015,"user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T16:58:56Z","updated_at":"2016-01-20T16:58:56Z","body":"this needs tests, and we need to see an example that illustrates this issue. I suspect it is an unrelated issue, and making this code defensive will merely hide the real issue."}}