{"action":"created","issue":{"url":"https://api.github.com/repos/ga-wdi-boston/express-group-project/issues/6","labels_url":"https://api.github.com/repos/ga-wdi-boston/express-group-project/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-boston/express-group-project/issues/6/comments","events_url":"https://api.github.com/repos/ga-wdi-boston/express-group-project/issues/6/events","html_url":"https://github.com/ga-wdi-boston/express-group-project/issues/6","id":119525389,"number":6,"title":"Testing mongoose populate","user":{"login":"raq929","id":13922520,"avatar_url":"https://avatars.githubusercontent.com/u/13922520?v=3","gravatar_id":"","url":"https://api.github.com/users/raq929","html_url":"https://github.com/raq929","followers_url":"https://api.github.com/users/raq929/followers","following_url":"https://api.github.com/users/raq929/following{/other_user}","gists_url":"https://api.github.com/users/raq929/gists{/gist_id}","starred_url":"https://api.github.com/users/raq929/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raq929/subscriptions","organizations_url":"https://api.github.com/users/raq929/orgs","repos_url":"https://api.github.com/users/raq929/repos","events_url":"https://api.github.com/users/raq929/events{/privacy}","received_events_url":"https://api.github.com/users/raq929/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-30T16:18:06Z","updated_at":"2015-11-30T16:48:13Z","closed_at":null,"body":"We're trying to test the mongoose populate function for our schema. \r\nCurrently we're getting the error `Cannot read property 'populate' of undefined`\r\nWe are running a script in Node which creates a page (sucessfully), and then attempts to call the populate function on that page. \r\n"},"comment":{"url":"https://api.github.com/repos/ga-wdi-boston/express-group-project/issues/comments/160686020","html_url":"https://github.com/ga-wdi-boston/express-group-project/issues/6#issuecomment-160686020","issue_url":"https://api.github.com/repos/ga-wdi-boston/express-group-project/issues/6","id":160686020,"user":{"login":"raq929","id":13922520,"avatar_url":"https://avatars.githubusercontent.com/u/13922520?v=3","gravatar_id":"","url":"https://api.github.com/users/raq929","html_url":"https://github.com/raq929","followers_url":"https://api.github.com/users/raq929/followers","following_url":"https://api.github.com/users/raq929/following{/other_user}","gists_url":"https://api.github.com/users/raq929/gists{/gist_id}","starred_url":"https://api.github.com/users/raq929/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raq929/subscriptions","organizations_url":"https://api.github.com/users/raq929/orgs","repos_url":"https://api.github.com/users/raq929/repos","events_url":"https://api.github.com/users/raq929/events{/privacy}","received_events_url":"https://api.github.com/users/raq929/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T16:48:12Z","updated_at":"2015-11-30T16:48:12Z","body":"So... I'm confused about what populate is supposed to do, then?\r\nMy understanding is that calling populate in the way we called it would give me a user object that corresponds to the id, and this seems like... not that. \r\n"}}