{"action":"closed","number":303,"pull_request":{"url":"https://api.github.com/repos/assemblymade/coderwall/pulls/303","id":27569011,"html_url":"https://github.com/assemblymade/coderwall/pull/303","diff_url":"https://github.com/assemblymade/coderwall/pull/303.diff","patch_url":"https://github.com/assemblymade/coderwall/pull/303.patch","issue_url":"https://api.github.com/repos/assemblymade/coderwall/issues/303","number":303,"state":"closed","locked":false,"title":"move db query from view to controller and method","user":{"login":"avinoth","id":7291330,"avatar_url":"https://avatars.githubusercontent.com/u/7291330?v=3","gravatar_id":"","url":"https://api.github.com/users/avinoth","html_url":"https://github.com/avinoth","followers_url":"https://api.github.com/users/avinoth/followers","following_url":"https://api.github.com/users/avinoth/following{/other_user}","gists_url":"https://api.github.com/users/avinoth/gists{/gist_id}","starred_url":"https://api.github.com/users/avinoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avinoth/subscriptions","organizations_url":"https://api.github.com/users/avinoth/orgs","repos_url":"https://api.github.com/users/avinoth/repos","events_url":"https://api.github.com/users/avinoth/events{/privacy}","received_events_url":"https://api.github.com/users/avinoth/received_events","type":"User","site_admin":false},"body":"Move database query from views to `admin_controller` and `network` model respectively.","created_at":"2015-01-18T09:28:26Z","updated_at":"2015-01-18T16:39:21Z","closed_at":"2015-01-18T16:39:21Z","merged_at":"2015-01-18T16:39:21Z","merge_commit_sha":"58b2942da316a6e62fa959bcf509bc6db3bd4d15","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/assemblymade/coderwall/pulls/303/commits","review_comments_url":"https://api.github.com/repos/assemblymade/coderwall/pulls/303/comments","review_comment_url":"https://api.github.com/repos/assemblymade/coderwall/pulls/comments/{number}","comments_url":"https://api.github.com/repos/assemblymade/coderwall/issues/303/comments","statuses_url":"https://api.github.com/repos/assemblymade/coderwall/statuses/f9790541d63c41d9bf5e43448c7019e1ff8d03a1","head":{"label":"avinoth:master","ref":"master","sha":"f9790541d63c41d9bf5e43448c7019e1ff8d03a1","user":{"login":"avinoth","id":7291330,"avatar_url":"https://avatars.githubusercontent.com/u/7291330?v=3","gravatar_id":"","url":"https://api.github.com/users/avinoth","html_url":"https://github.com/avinoth","followers_url":"https://api.github.com/users/avinoth/followers","following_url":"https://api.github.com/users/avinoth/following{/other_user}","gists_url":"https://api.github.com/users/avinoth/gists{/gist_id}","starred_url":"https://api.github.com/users/avinoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avinoth/subscriptions","organizations_url":"https://api.github.com/users/avinoth/orgs","repos_url":"https://api.github.com/users/avinoth/repos","events_url":"https://api.github.com/users/avinoth/events{/privacy}","received_events_url":"https://api.github.com/users/avinoth/received_events","type":"User","site_admin":false},"repo":{"id":28814502,"name":"coderwall","full_name":"avinoth/coderwall","owner":{"login":"avinoth","id":7291330,"avatar_url":"https://avatars.githubusercontent.com/u/7291330?v=3","gravatar_id":"","url":"https://api.github.com/users/avinoth","html_url":"https://github.com/avinoth","followers_url":"https://api.github.com/users/avinoth/followers","following_url":"https://api.github.com/users/avinoth/following{/other_user}","gists_url":"https://api.github.com/users/avinoth/gists{/gist_id}","starred_url":"https://api.github.com/users/avinoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avinoth/subscriptions","organizations_url":"https://api.github.com/users/avinoth/orgs","repos_url":"https://api.github.com/users/avinoth/repos","events_url":"https://api.github.com/users/avinoth/events{/privacy}","received_events_url":"https://api.github.com/users/avinoth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/avinoth/coderwall","description":"Professional network for software engineers","fork":true,"url":"https://api.github.com/repos/avinoth/coderwall","forks_url":"https://api.github.com/repos/avinoth/coderwall/forks","keys_url":"https://api.github.com/repos/avinoth/coderwall/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avinoth/coderwall/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avinoth/coderwall/teams","hooks_url":"https://api.github.com/repos/avinoth/coderwall/hooks","issue_events_url":"https://api.github.com/repos/avinoth/coderwall/issues/events{/number}","events_url":"https://api.github.com/repos/avinoth/coderwall/events","assignees_url":"https://api.github.com/repos/avinoth/coderwall/assignees{/user}","branches_url":"https://api.github.com/repos/avinoth/coderwall/branches{/branch}","tags_url":"https://api.github.com/repos/avinoth/coderwall/tags","blobs_url":"https://api.github.com/repos/avinoth/coderwall/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avinoth/coderwall/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avinoth/coderwall/git/refs{/sha}","trees_url":"https://api.github.com/repos/avinoth/coderwall/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avinoth/coderwall/statuses/{sha}","languages_url":"https://api.github.com/repos/avinoth/coderwall/languages","stargazers_url":"https://api.github.com/repos/avinoth/coderwall/stargazers","contributors_url":"https://api.github.com/repos/avinoth/coderwall/contributors","subscribers_url":"https://api.github.com/repos/avinoth/coderwall/subscribers","subscription_url":"https://api.github.com/repos/avinoth/coderwall/subscription","commits_url":"https://api.github.com/repos/avinoth/coderwall/commits{/sha}","git_commits_url":"https://api.github.com/repos/avinoth/coderwall/git/commits{/sha}","comments_url":"https://api.github.com/repos/avinoth/coderwall/comments{/number}","issue_comment_url":"https://api.github.com/repos/avinoth/coderwall/issues/comments/{number}","contents_url":"https://api.github.com/repos/avinoth/coderwall/contents/{+path}","compare_url":"https://api.github.com/repos/avinoth/coderwall/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avinoth/coderwall/merges","archive_url":"https://api.github.com/repos/avinoth/coderwall/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avinoth/coderwall/downloads","issues_url":"https://api.github.com/repos/avinoth/coderwall/issues{/number}","pulls_url":"https://api.github.com/repos/avinoth/coderwall/pulls{/number}","milestones_url":"https://api.github.com/repos/avinoth/coderwall/milestones{/number}","notifications_url":"https://api.github.com/repos/avinoth/coderwall/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avinoth/coderwall/labels{/name}","releases_url":"https://api.github.com/repos/avinoth/coderwall/releases{/id}","created_at":"2015-01-05T13:52:56Z","updated_at":"2015-01-18T16:14:38Z","pushed_at":"2015-01-18T16:14:38Z","git_url":"git://github.com/avinoth/coderwall.git","ssh_url":"git@github.com:avinoth/coderwall.git","clone_url":"https://github.com/avinoth/coderwall.git","svn_url":"https://github.com/avinoth/coderwall","homepage":"https://coderwall.com/","size":30639,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"assemblymade:master","ref":"master","sha":"22c2ebcd9792fcb81f7799b429cf15b215f84b69","user":{"login":"assemblymade","id":4935815,"avatar_url":"https://avatars.githubusercontent.com/u/4935815?v=3","gravatar_id":"","url":"https://api.github.com/users/assemblymade","html_url":"https://github.com/assemblymade","followers_url":"https://api.github.com/users/assemblymade/followers","following_url":"https://api.github.com/users/assemblymade/following{/other_user}","gists_url":"https://api.github.com/users/assemblymade/gists{/gist_id}","starred_url":"https://api.github.com/users/assemblymade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assemblymade/subscriptions","organizations_url":"https://api.github.com/users/assemblymade/orgs","repos_url":"https://api.github.com/users/assemblymade/repos","events_url":"https://api.github.com/users/assemblymade/events{/privacy}","received_events_url":"https://api.github.com/users/assemblymade/received_events","type":"Organization","site_admin":false},"repo":{"id":16923370,"name":"coderwall","full_name":"assemblymade/coderwall","owner":{"login":"assemblymade","id":4935815,"avatar_url":"https://avatars.githubusercontent.com/u/4935815?v=3","gravatar_id":"","url":"https://api.github.com/users/assemblymade","html_url":"https://github.com/assemblymade","followers_url":"https://api.github.com/users/assemblymade/followers","following_url":"https://api.github.com/users/assemblymade/following{/other_user}","gists_url":"https://api.github.com/users/assemblymade/gists{/gist_id}","starred_url":"https://api.github.com/users/assemblymade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assemblymade/subscriptions","organizations_url":"https://api.github.com/users/assemblymade/orgs","repos_url":"https://api.github.com/users/assemblymade/repos","events_url":"https://api.github.com/users/assemblymade/events{/privacy}","received_events_url":"https://api.github.com/users/assemblymade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/assemblymade/coderwall","description":"Professional network for software engineers","fork":false,"url":"https://api.github.com/repos/assemblymade/coderwall","forks_url":"https://api.github.com/repos/assemblymade/coderwall/forks","keys_url":"https://api.github.com/repos/assemblymade/coderwall/keys{/key_id}","collaborators_url":"https://api.github.com/repos/assemblymade/coderwall/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/assemblymade/coderwall/teams","hooks_url":"https://api.github.com/repos/assemblymade/coderwall/hooks","issue_events_url":"https://api.github.com/repos/assemblymade/coderwall/issues/events{/number}","events_url":"https://api.github.com/repos/assemblymade/coderwall/events","assignees_url":"https://api.github.com/repos/assemblymade/coderwall/assignees{/user}","branches_url":"https://api.github.com/repos/assemblymade/coderwall/branches{/branch}","tags_url":"https://api.github.com/repos/assemblymade/coderwall/tags","blobs_url":"https://api.github.com/repos/assemblymade/coderwall/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/assemblymade/coderwall/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/assemblymade/coderwall/git/refs{/sha}","trees_url":"https://api.github.com/repos/assemblymade/coderwall/git/trees{/sha}","statuses_url":"https://api.github.com/repos/assemblymade/coderwall/statuses/{sha}","languages_url":"https://api.github.com/repos/assemblymade/coderwall/languages","stargazers_url":"https://api.github.com/repos/assemblymade/coderwall/stargazers","contributors_url":"https://api.github.com/repos/assemblymade/coderwall/contributors","subscribers_url":"https://api.github.com/repos/assemblymade/coderwall/subscribers","subscription_url":"https://api.github.com/repos/assemblymade/coderwall/subscription","commits_url":"https://api.github.com/repos/assemblymade/coderwall/commits{/sha}","git_commits_url":"https://api.github.com/repos/assemblymade/coderwall/git/commits{/sha}","comments_url":"https://api.github.com/repos/assemblymade/coderwall/comments{/number}","issue_comment_url":"https://api.github.com/repos/assemblymade/coderwall/issues/comments/{number}","contents_url":"https://api.github.com/repos/assemblymade/coderwall/contents/{+path}","compare_url":"https://api.github.com/repos/assemblymade/coderwall/compare/{base}...{head}","merges_url":"https://api.github.com/repos/assemblymade/coderwall/merges","archive_url":"https://api.github.com/repos/assemblymade/coderwall/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/assemblymade/coderwall/downloads","issues_url":"https://api.github.com/repos/assemblymade/coderwall/issues{/number}","pulls_url":"https://api.github.com/repos/assemblymade/coderwall/pulls{/number}","milestones_url":"https://api.github.com/repos/assemblymade/coderwall/milestones{/number}","notifications_url":"https://api.github.com/repos/assemblymade/coderwall/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/assemblymade/coderwall/labels{/name}","releases_url":"https://api.github.com/repos/assemblymade/coderwall/releases{/id}","created_at":"2014-02-17T19:09:29Z","updated_at":"2015-01-18T14:59:42Z","pushed_at":"2015-01-18T16:39:21Z","git_url":"git://github.com/assemblymade/coderwall.git","ssh_url":"git@github.com:assemblymade/coderwall.git","clone_url":"https://github.com/assemblymade/coderwall.git","svn_url":"https://github.com/assemblymade/coderwall","homepage":"https://coderwall.com/","size":49963,"stargazers_count":658,"watchers_count":658,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":231,"mirror_url":null,"open_issues_count":3,"forks":231,"open_issues":3,"watchers":658,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/assemblymade/coderwall/pulls/303"},"html":{"href":"https://github.com/assemblymade/coderwall/pull/303"},"issue":{"href":"https://api.github.com/repos/assemblymade/coderwall/issues/303"},"comments":{"href":"https://api.github.com/repos/assemblymade/coderwall/issues/303/comments"},"review_comments":{"href":"https://api.github.com/repos/assemblymade/coderwall/pulls/303/comments"},"review_comment":{"href":"https://api.github.com/repos/assemblymade/coderwall/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/assemblymade/coderwall/pulls/303/commits"},"statuses":{"href":"https://api.github.com/repos/assemblymade/coderwall/statuses/f9790541d63c41d9bf5e43448c7019e1ff8d03a1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"seuros","id":2394703,"avatar_url":"https://avatars.githubusercontent.com/u/2394703?v=3","gravatar_id":"","url":"https://api.github.com/users/seuros","html_url":"https://github.com/seuros","followers_url":"https://api.github.com/users/seuros/followers","following_url":"https://api.github.com/users/seuros/following{/other_user}","gists_url":"https://api.github.com/users/seuros/gists{/gist_id}","starred_url":"https://api.github.com/users/seuros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seuros/subscriptions","organizations_url":"https://api.github.com/users/seuros/orgs","repos_url":"https://api.github.com/users/seuros/repos","events_url":"https://api.github.com/users/seuros/events{/privacy}","received_events_url":"https://api.github.com/users/seuros/received_events","type":"User","site_admin":false},"comments":0,"review_comments":2,"commits":1,"additions":33,"deletions":3,"changed_files":4}}