{"action":"closed","number":77,"pull_request":{"url":"https://api.github.com/repos/parkmap-h/parkmap/pulls/77","id":30736407,"html_url":"https://github.com/parkmap-h/parkmap/pull/77","diff_url":"https://github.com/parkmap-h/parkmap/pull/77.diff","patch_url":"https://github.com/parkmap-h/parkmap/pull/77.patch","issue_url":"https://api.github.com/repos/parkmap-h/parkmap/issues/77","number":77,"state":"closed","locked":false,"title":"クエリが複数はしってしまってるので includes を追加","user":{"login":"eiel","id":92595,"avatar_url":"https://avatars.githubusercontent.com/u/92595?v=3","gravatar_id":"","url":"https://api.github.com/users/eiel","html_url":"https://github.com/eiel","followers_url":"https://api.github.com/users/eiel/followers","following_url":"https://api.github.com/users/eiel/following{/other_user}","gists_url":"https://api.github.com/users/eiel/gists{/gist_id}","starred_url":"https://api.github.com/users/eiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eiel/subscriptions","organizations_url":"https://api.github.com/users/eiel/orgs","repos_url":"https://api.github.com/users/eiel/repos","events_url":"https://api.github.com/users/eiel/events{/privacy}","received_events_url":"https://api.github.com/users/eiel/received_events","type":"User","site_admin":false},"body":"検索時に関連モデルの検索するために複数のクエリが走ってしまっていた。\r\nincludesを追加してまとめて取得するように修正","created_at":"2015-03-09T05:01:30Z","updated_at":"2015-03-09T05:01:37Z","closed_at":"2015-03-09T05:01:37Z","merged_at":"2015-03-09T05:01:37Z","merge_commit_sha":"ef1a5debd8406d3ea5b6d82ea692ec529c54f43d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/parkmap-h/parkmap/pulls/77/commits","review_comments_url":"https://api.github.com/repos/parkmap-h/parkmap/pulls/77/comments","review_comment_url":"https://api.github.com/repos/parkmap-h/parkmap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/parkmap-h/parkmap/issues/77/comments","statuses_url":"https://api.github.com/repos/parkmap-h/parkmap/statuses/8031ea84914159dee891e0d5c889571463b1850e","head":{"label":"parkmap-h:includes-photos-when-search","ref":"includes-photos-when-search","sha":"8031ea84914159dee891e0d5c889571463b1850e","user":{"login":"parkmap-h","id":10166523,"avatar_url":"https://avatars.githubusercontent.com/u/10166523?v=3","gravatar_id":"","url":"https://api.github.com/users/parkmap-h","html_url":"https://github.com/parkmap-h","followers_url":"https://api.github.com/users/parkmap-h/followers","following_url":"https://api.github.com/users/parkmap-h/following{/other_user}","gists_url":"https://api.github.com/users/parkmap-h/gists{/gist_id}","starred_url":"https://api.github.com/users/parkmap-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkmap-h/subscriptions","organizations_url":"https://api.github.com/users/parkmap-h/orgs","repos_url":"https://api.github.com/users/parkmap-h/repos","events_url":"https://api.github.com/users/parkmap-h/events{/privacy}","received_events_url":"https://api.github.com/users/parkmap-h/received_events","type":"Organization","site_admin":false},"repo":{"id":27937391,"name":"parkmap","full_name":"parkmap-h/parkmap","owner":{"login":"parkmap-h","id":10166523,"avatar_url":"https://avatars.githubusercontent.com/u/10166523?v=3","gravatar_id":"","url":"https://api.github.com/users/parkmap-h","html_url":"https://github.com/parkmap-h","followers_url":"https://api.github.com/users/parkmap-h/followers","following_url":"https://api.github.com/users/parkmap-h/following{/other_user}","gists_url":"https://api.github.com/users/parkmap-h/gists{/gist_id}","starred_url":"https://api.github.com/users/parkmap-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkmap-h/subscriptions","organizations_url":"https://api.github.com/users/parkmap-h/orgs","repos_url":"https://api.github.com/users/parkmap-h/repos","events_url":"https://api.github.com/users/parkmap-h/events{/privacy}","received_events_url":"https://api.github.com/users/parkmap-h/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/parkmap-h/parkmap","description":"","fork":false,"url":"https://api.github.com/repos/parkmap-h/parkmap","forks_url":"https://api.github.com/repos/parkmap-h/parkmap/forks","keys_url":"https://api.github.com/repos/parkmap-h/parkmap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parkmap-h/parkmap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parkmap-h/parkmap/teams","hooks_url":"https://api.github.com/repos/parkmap-h/parkmap/hooks","issue_events_url":"https://api.github.com/repos/parkmap-h/parkmap/issues/events{/number}","events_url":"https://api.github.com/repos/parkmap-h/parkmap/events","assignees_url":"https://api.github.com/repos/parkmap-h/parkmap/assignees{/user}","branches_url":"https://api.github.com/repos/parkmap-h/parkmap/branches{/branch}","tags_url":"https://api.github.com/repos/parkmap-h/parkmap/tags","blobs_url":"https://api.github.com/repos/parkmap-h/parkmap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parkmap-h/parkmap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parkmap-h/parkmap/git/refs{/sha}","trees_url":"https://api.github.com/repos/parkmap-h/parkmap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parkmap-h/parkmap/statuses/{sha}","languages_url":"https://api.github.com/repos/parkmap-h/parkmap/languages","stargazers_url":"https://api.github.com/repos/parkmap-h/parkmap/stargazers","contributors_url":"https://api.github.com/repos/parkmap-h/parkmap/contributors","subscribers_url":"https://api.github.com/repos/parkmap-h/parkmap/subscribers","subscription_url":"https://api.github.com/repos/parkmap-h/parkmap/subscription","commits_url":"https://api.github.com/repos/parkmap-h/parkmap/commits{/sha}","git_commits_url":"https://api.github.com/repos/parkmap-h/parkmap/git/commits{/sha}","comments_url":"https://api.github.com/repos/parkmap-h/parkmap/comments{/number}","issue_comment_url":"https://api.github.com/repos/parkmap-h/parkmap/issues/comments{/number}","contents_url":"https://api.github.com/repos/parkmap-h/parkmap/contents/{+path}","compare_url":"https://api.github.com/repos/parkmap-h/parkmap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parkmap-h/parkmap/merges","archive_url":"https://api.github.com/repos/parkmap-h/parkmap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parkmap-h/parkmap/downloads","issues_url":"https://api.github.com/repos/parkmap-h/parkmap/issues{/number}","pulls_url":"https://api.github.com/repos/parkmap-h/parkmap/pulls{/number}","milestones_url":"https://api.github.com/repos/parkmap-h/parkmap/milestones{/number}","notifications_url":"https://api.github.com/repos/parkmap-h/parkmap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parkmap-h/parkmap/labels{/name}","releases_url":"https://api.github.com/repos/parkmap-h/parkmap/releases{/id}","created_at":"2014-12-12T20:44:31Z","updated_at":"2015-03-08T02:34:50Z","pushed_at":"2015-03-09T05:01:37Z","git_url":"git://github.com/parkmap-h/parkmap.git","ssh_url":"git@github.com:parkmap-h/parkmap.git","clone_url":"https://github.com/parkmap-h/parkmap.git","svn_url":"https://github.com/parkmap-h/parkmap","homepage":null,"size":804,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":22,"forks":0,"open_issues":22,"watchers":1,"default_branch":"master"}},"base":{"label":"parkmap-h:master","ref":"master","sha":"4eae13baa912f17ab37c208b7550f9132a040b3c","user":{"login":"parkmap-h","id":10166523,"avatar_url":"https://avatars.githubusercontent.com/u/10166523?v=3","gravatar_id":"","url":"https://api.github.com/users/parkmap-h","html_url":"https://github.com/parkmap-h","followers_url":"https://api.github.com/users/parkmap-h/followers","following_url":"https://api.github.com/users/parkmap-h/following{/other_user}","gists_url":"https://api.github.com/users/parkmap-h/gists{/gist_id}","starred_url":"https://api.github.com/users/parkmap-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkmap-h/subscriptions","organizations_url":"https://api.github.com/users/parkmap-h/orgs","repos_url":"https://api.github.com/users/parkmap-h/repos","events_url":"https://api.github.com/users/parkmap-h/events{/privacy}","received_events_url":"https://api.github.com/users/parkmap-h/received_events","type":"Organization","site_admin":false},"repo":{"id":27937391,"name":"parkmap","full_name":"parkmap-h/parkmap","owner":{"login":"parkmap-h","id":10166523,"avatar_url":"https://avatars.githubusercontent.com/u/10166523?v=3","gravatar_id":"","url":"https://api.github.com/users/parkmap-h","html_url":"https://github.com/parkmap-h","followers_url":"https://api.github.com/users/parkmap-h/followers","following_url":"https://api.github.com/users/parkmap-h/following{/other_user}","gists_url":"https://api.github.com/users/parkmap-h/gists{/gist_id}","starred_url":"https://api.github.com/users/parkmap-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkmap-h/subscriptions","organizations_url":"https://api.github.com/users/parkmap-h/orgs","repos_url":"https://api.github.com/users/parkmap-h/repos","events_url":"https://api.github.com/users/parkmap-h/events{/privacy}","received_events_url":"https://api.github.com/users/parkmap-h/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/parkmap-h/parkmap","description":"","fork":false,"url":"https://api.github.com/repos/parkmap-h/parkmap","forks_url":"https://api.github.com/repos/parkmap-h/parkmap/forks","keys_url":"https://api.github.com/repos/parkmap-h/parkmap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parkmap-h/parkmap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parkmap-h/parkmap/teams","hooks_url":"https://api.github.com/repos/parkmap-h/parkmap/hooks","issue_events_url":"https://api.github.com/repos/parkmap-h/parkmap/issues/events{/number}","events_url":"https://api.github.com/repos/parkmap-h/parkmap/events","assignees_url":"https://api.github.com/repos/parkmap-h/parkmap/assignees{/user}","branches_url":"https://api.github.com/repos/parkmap-h/parkmap/branches{/branch}","tags_url":"https://api.github.com/repos/parkmap-h/parkmap/tags","blobs_url":"https://api.github.com/repos/parkmap-h/parkmap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parkmap-h/parkmap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parkmap-h/parkmap/git/refs{/sha}","trees_url":"https://api.github.com/repos/parkmap-h/parkmap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parkmap-h/parkmap/statuses/{sha}","languages_url":"https://api.github.com/repos/parkmap-h/parkmap/languages","stargazers_url":"https://api.github.com/repos/parkmap-h/parkmap/stargazers","contributors_url":"https://api.github.com/repos/parkmap-h/parkmap/contributors","subscribers_url":"https://api.github.com/repos/parkmap-h/parkmap/subscribers","subscription_url":"https://api.github.com/repos/parkmap-h/parkmap/subscription","commits_url":"https://api.github.com/repos/parkmap-h/parkmap/commits{/sha}","git_commits_url":"https://api.github.com/repos/parkmap-h/parkmap/git/commits{/sha}","comments_url":"https://api.github.com/repos/parkmap-h/parkmap/comments{/number}","issue_comment_url":"https://api.github.com/repos/parkmap-h/parkmap/issues/comments{/number}","contents_url":"https://api.github.com/repos/parkmap-h/parkmap/contents/{+path}","compare_url":"https://api.github.com/repos/parkmap-h/parkmap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parkmap-h/parkmap/merges","archive_url":"https://api.github.com/repos/parkmap-h/parkmap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parkmap-h/parkmap/downloads","issues_url":"https://api.github.com/repos/parkmap-h/parkmap/issues{/number}","pulls_url":"https://api.github.com/repos/parkmap-h/parkmap/pulls{/number}","milestones_url":"https://api.github.com/repos/parkmap-h/parkmap/milestones{/number}","notifications_url":"https://api.github.com/repos/parkmap-h/parkmap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parkmap-h/parkmap/labels{/name}","releases_url":"https://api.github.com/repos/parkmap-h/parkmap/releases{/id}","created_at":"2014-12-12T20:44:31Z","updated_at":"2015-03-08T02:34:50Z","pushed_at":"2015-03-09T05:01:37Z","git_url":"git://github.com/parkmap-h/parkmap.git","ssh_url":"git@github.com:parkmap-h/parkmap.git","clone_url":"https://github.com/parkmap-h/parkmap.git","svn_url":"https://github.com/parkmap-h/parkmap","homepage":null,"size":804,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":22,"forks":0,"open_issues":22,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/parkmap-h/parkmap/pulls/77"},"html":{"href":"https://github.com/parkmap-h/parkmap/pull/77"},"issue":{"href":"https://api.github.com/repos/parkmap-h/parkmap/issues/77"},"comments":{"href":"https://api.github.com/repos/parkmap-h/parkmap/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/parkmap-h/parkmap/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/parkmap-h/parkmap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/parkmap-h/parkmap/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/parkmap-h/parkmap/statuses/8031ea84914159dee891e0d5c889571463b1850e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"eiel","id":92595,"avatar_url":"https://avatars.githubusercontent.com/u/92595?v=3","gravatar_id":"","url":"https://api.github.com/users/eiel","html_url":"https://github.com/eiel","followers_url":"https://api.github.com/users/eiel/followers","following_url":"https://api.github.com/users/eiel/following{/other_user}","gists_url":"https://api.github.com/users/eiel/gists{/gist_id}","starred_url":"https://api.github.com/users/eiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eiel/subscriptions","organizations_url":"https://api.github.com/users/eiel/orgs","repos_url":"https://api.github.com/users/eiel/repos","events_url":"https://api.github.com/users/eiel/events{/privacy}","received_events_url":"https://api.github.com/users/eiel/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}