{"comment":{"url":"https://api.github.com/repos/OpenUserJs/OpenUserJS.org/comments/11648303","html_url":"https://github.com/OpenUserJs/OpenUserJS.org/commit/1a9933c9aed00483324704d7561d0723cfda43a4#commitcomment-11648303","id":11648303,"user":{"login":"Martii","id":114709,"avatar_url":"https://avatars.githubusercontent.com/u/114709?v=3","gravatar_id":"","url":"https://api.github.com/users/Martii","html_url":"https://github.com/Martii","followers_url":"https://api.github.com/users/Martii/followers","following_url":"https://api.github.com/users/Martii/following{/other_user}","gists_url":"https://api.github.com/users/Martii/gists{/gist_id}","starred_url":"https://api.github.com/users/Martii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martii/subscriptions","organizations_url":"https://api.github.com/users/Martii/orgs","repos_url":"https://api.github.com/users/Martii/repos","events_url":"https://api.github.com/users/Martii/events{/privacy}","received_events_url":"https://api.github.com/users/Martii/received_events","type":"User","site_admin":false},"position":17,"line":282,"path":"controllers/discussion.js","commit_id":"1a9933c9aed00483324704d7561d0723cfda43a4","created_at":"2015-06-12T06:34:29Z","updated_at":"2015-06-12T06:34:29Z","body":"@sizzlemctwizzle \r\nNon-existent url after remove e.g. opened the discussion in another tab, removed my goo self on dev as usual during testing, then refreshed the tab with that discussion in it and it bombs dev:\r\n\r\n``` sh-session\r\n/home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/controllers/discussion.js:282\r\n          discussion.save(callback);\r\n                     ^\r\nTypeError: undefined is not a function\r\n    at Query.<anonymous> (/home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/controllers/discussion.js:282:22)\r\n    at /home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/node_modules/mongoose/node_modules/kareem/index.js:177:19\r\n    at /home/user/repo/git/OpenUserJS.org/martii/OpenUserJS.org/node_modules/mongoose/node_modules/kareem/index.js:109:16\r\n    at process._tickDomainCallback (node.js:381:11)\r\n```\r\n\r\nThis will probably kill production with continual restarts if active."}}