{"action":"created","issue":{"url":"https://api.github.com/repos/LearnBoost/mongoose/issues/2627","labels_url":"https://api.github.com/repos/LearnBoost/mongoose/issues/2627/labels{/name}","comments_url":"https://api.github.com/repos/LearnBoost/mongoose/issues/2627/comments","events_url":"https://api.github.com/repos/LearnBoost/mongoose/issues/2627/events","html_url":"https://github.com/LearnBoost/mongoose/issues/2627","id":55720673,"number":2627,"title":"After getting a mongoose model by name, mongo's collection.remove() will never callback.  (version 3.9.x)","user":{"login":"rolandnsharp","id":1858973,"avatar_url":"https://avatars.githubusercontent.com/u/1858973?v=3","gravatar_id":"","url":"https://api.github.com/users/rolandnsharp","html_url":"https://github.com/rolandnsharp","followers_url":"https://api.github.com/users/rolandnsharp/followers","following_url":"https://api.github.com/users/rolandnsharp/following{/other_user}","gists_url":"https://api.github.com/users/rolandnsharp/gists{/gist_id}","starred_url":"https://api.github.com/users/rolandnsharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolandnsharp/subscriptions","organizations_url":"https://api.github.com/users/rolandnsharp/orgs","repos_url":"https://api.github.com/users/rolandnsharp/repos","events_url":"https://api.github.com/users/rolandnsharp/events{/privacy}","received_events_url":"https://api.github.com/users/rolandnsharp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LearnBoost/mongoose/labels/bug?","name":"bug?","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/LearnBoost/mongoose/milestones/2","labels_url":"https://api.github.com/repos/LearnBoost/mongoose/milestones/2/labels","id":317160,"number":2,"title":"4.0","description":null,"creator":{"login":"aheckmann","id":166834,"avatar_url":"https://avatars.githubusercontent.com/u/166834?v=3","gravatar_id":"","url":"https://api.github.com/users/aheckmann","html_url":"https://github.com/aheckmann","followers_url":"https://api.github.com/users/aheckmann/followers","following_url":"https://api.github.com/users/aheckmann/following{/other_user}","gists_url":"https://api.github.com/users/aheckmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aheckmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheckmann/subscriptions","organizations_url":"https://api.github.com/users/aheckmann/orgs","repos_url":"https://api.github.com/users/aheckmann/repos","events_url":"https://api.github.com/users/aheckmann/events{/privacy}","received_events_url":"https://api.github.com/users/aheckmann/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":14,"state":"open","created_at":"2013-04-20T14:08:32Z","updated_at":"2015-01-28T16:18:14Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-01-28T06:45:18Z","updated_at":"2015-01-28T22:13:51Z","closed_at":null,"body":"This works fine in 3.8.x as far as I can tell and I can't find any reference as to why it would be made redundant. \r\n```\r\nModel = mongoose.model('modelName');\r\nModel.collection.remove(function(err){\r\n    console.log(\"I'm never called.\");\r\n});\r\n```\r\n\r\nModel.collection seems to be a mongo object and collection.find() works, but something is wrong with remove()."},"comment":{"url":"https://api.github.com/repos/LearnBoost/mongoose/issues/comments/71927882","html_url":"https://github.com/LearnBoost/mongoose/issues/2627#issuecomment-71927882","issue_url":"https://api.github.com/repos/LearnBoost/mongoose/issues/2627","id":71927882,"user":{"login":"rolandnsharp","id":1858973,"avatar_url":"https://avatars.githubusercontent.com/u/1858973?v=3","gravatar_id":"","url":"https://api.github.com/users/rolandnsharp","html_url":"https://github.com/rolandnsharp","followers_url":"https://api.github.com/users/rolandnsharp/followers","following_url":"https://api.github.com/users/rolandnsharp/following{/other_user}","gists_url":"https://api.github.com/users/rolandnsharp/gists{/gist_id}","starred_url":"https://api.github.com/users/rolandnsharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolandnsharp/subscriptions","organizations_url":"https://api.github.com/users/rolandnsharp/orgs","repos_url":"https://api.github.com/users/rolandnsharp/repos","events_url":"https://api.github.com/users/rolandnsharp/events{/privacy}","received_events_url":"https://api.github.com/users/rolandnsharp/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T22:13:51Z","updated_at":"2015-01-28T22:13:51Z","body":"I'm experianceing this on the current master branch.\r\nSo as of right now: 3.9.8-pre and SHA: d2ccf20ae88962548437de3d54a7949c2da0f93b"}}