{"action":"opened","issue":{"url":"https://api.github.com/repos/code-corps/code-corps-api/issues/177","labels_url":"https://api.github.com/repos/code-corps/code-corps-api/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/code-corps/code-corps-api/issues/177/comments","events_url":"https://api.github.com/repos/code-corps/code-corps-api/issues/177/events","html_url":"https://github.com/code-corps/code-corps-api/issues/177","id":127064967,"number":177,"title":"Investigate way to make bullet not see N+1 query in post policy","user":{"login":"JoshSmith","id":321667,"avatar_url":"https://avatars.githubusercontent.com/u/321667?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshSmith","html_url":"https://github.com/JoshSmith","followers_url":"https://api.github.com/users/JoshSmith/followers","following_url":"https://api.github.com/users/JoshSmith/following{/other_user}","gists_url":"https://api.github.com/users/JoshSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshSmith/subscriptions","organizations_url":"https://api.github.com/users/JoshSmith/orgs","repos_url":"https://api.github.com/users/JoshSmith/repos","events_url":"https://api.github.com/users/JoshSmith/events{/privacy}","received_events_url":"https://api.github.com/users/JoshSmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-17T00:19:07Z","updated_at":"2016-01-17T00:19:07Z","closed_at":null,"body":"For some reason, in `PostPolicy`, doing `post.project.organization` registers an N+1 query. We should find out if this is actually an N+1 query, and if not, how to make Bullet not register it as one.\r\n\r\nFor now, we have been using `around_action` with a `skip_bullet` in the controller. This is not ideal."}}