{"action":"created","comment":{"url":"https://api.github.com/repos/boonrs/council-trivia/pulls/comments/33267060","id":33267060,"diff_hunk":"@@ -6,8 +6,8 @@ def index\n   def results\n     questions = params[:questions]\n     if questions\n-      @answers = Answer.where(id: questions.values)\n-      @candidates = CalculateCandidate.new(@answers).execute\n+      answers = Answer.where(id: questions.values)\n+     @candidates = CalculateCandidate.new(answers).execute","path":"app/controllers/home_controller.rb","position":7,"original_position":7,"commit_id":"fc6c0d40de3783d10e37423b52143a5c620ff80c","original_commit_id":"fc6c0d40de3783d10e37423b52143a5c620ff80c","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Inconsistent indentation detected.","created_at":"2015-06-25T15:23:05Z","updated_at":"2015-06-25T15:23:05Z","html_url":"https://github.com/boonrs/council-trivia/pull/6#discussion_r33267060","pull_request_url":"https://api.github.com/repos/boonrs/council-trivia/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/boonrs/council-trivia/pulls/comments/33267060"},"html":{"href":"https://github.com/boonrs/council-trivia/pull/6#discussion_r33267060"},"pull_request":{"href":"https://api.github.com/repos/boonrs/council-trivia/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/boonrs/council-trivia/pulls/6","id":38559435,"html_url":"https://github.com/boonrs/council-trivia/pull/6","diff_url":"https://github.com/boonrs/council-trivia/pull/6.diff","patch_url":"https://github.com/boonrs/council-trivia/pull/6.patch","issue_url":"https://api.github.com/repos/boonrs/council-trivia/issues/6","number":6,"state":"open","locked":false,"title":"Add some style","user":{"login":"boonrs","id":219526,"avatar_url":"https://avatars.githubusercontent.com/u/219526?v=3","gravatar_id":"","url":"https://api.github.com/users/boonrs","html_url":"https://github.com/boonrs","followers_url":"https://api.github.com/users/boonrs/followers","following_url":"https://api.github.com/users/boonrs/following{/other_user}","gists_url":"https://api.github.com/users/boonrs/gists{/gist_id}","starred_url":"https://api.github.com/users/boonrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boonrs/subscriptions","organizations_url":"https://api.github.com/users/boonrs/orgs","repos_url":"https://api.github.com/users/boonrs/repos","events_url":"https://api.github.com/users/boonrs/events{/privacy}","received_events_url":"https://api.github.com/users/boonrs/received_events","type":"User","site_admin":false},"body":"* Rank candidates. \r\n* Add navigation and logo. \r\n* TODO: This is dev style, need a real\r\ndesigner.","created_at":"2015-06-25T15:22:58Z","updated_at":"2015-06-25T15:23:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca02c361619a9649545356511374336f5349f5d7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/boonrs/council-trivia/pulls/6/commits","review_comments_url":"https://api.github.com/repos/boonrs/council-trivia/pulls/6/comments","review_comment_url":"https://api.github.com/repos/boonrs/council-trivia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/boonrs/council-trivia/issues/6/comments","statuses_url":"https://api.github.com/repos/boonrs/council-trivia/statuses/fc6c0d40de3783d10e37423b52143a5c620ff80c","head":{"label":"boonrs:prettier","ref":"prettier","sha":"fc6c0d40de3783d10e37423b52143a5c620ff80c","user":{"login":"boonrs","id":219526,"avatar_url":"https://avatars.githubusercontent.com/u/219526?v=3","gravatar_id":"","url":"https://api.github.com/users/boonrs","html_url":"https://github.com/boonrs","followers_url":"https://api.github.com/users/boonrs/followers","following_url":"https://api.github.com/users/boonrs/following{/other_user}","gists_url":"https://api.github.com/users/boonrs/gists{/gist_id}","starred_url":"https://api.github.com/users/boonrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boonrs/subscriptions","organizations_url":"https://api.github.com/users/boonrs/orgs","repos_url":"https://api.github.com/users/boonrs/repos","events_url":"https://api.github.com/users/boonrs/events{/privacy}","received_events_url":"https://api.github.com/users/boonrs/received_events","type":"User","site_admin":false},"repo":{"id":37778536,"name":"council-trivia","full_name":"boonrs/council-trivia","owner":{"login":"boonrs","id":219526,"avatar_url":"https://avatars.githubusercontent.com/u/219526?v=3","gravatar_id":"","url":"https://api.github.com/users/boonrs","html_url":"https://github.com/boonrs","followers_url":"https://api.github.com/users/boonrs/followers","following_url":"https://api.github.com/users/boonrs/following{/other_user}","gists_url":"https://api.github.com/users/boonrs/gists{/gist_id}","starred_url":"https://api.github.com/users/boonrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boonrs/subscriptions","organizations_url":"https://api.github.com/users/boonrs/orgs","repos_url":"https://api.github.com/users/boonrs/repos","events_url":"https://api.github.com/users/boonrs/events{/privacy}","received_events_url":"https://api.github.com/users/boonrs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boonrs/council-trivia","description":"Lets trivialize council elections.","fork":false,"url":"https://api.github.com/repos/boonrs/council-trivia","forks_url":"https://api.github.com/repos/boonrs/council-trivia/forks","keys_url":"https://api.github.com/repos/boonrs/council-trivia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boonrs/council-trivia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boonrs/council-trivia/teams","hooks_url":"https://api.github.com/repos/boonrs/council-trivia/hooks","issue_events_url":"https://api.github.com/repos/boonrs/council-trivia/issues/events{/number}","events_url":"https://api.github.com/repos/boonrs/council-trivia/events","assignees_url":"https://api.github.com/repos/boonrs/council-trivia/assignees{/user}","branches_url":"https://api.github.com/repos/boonrs/council-trivia/branches{/branch}","tags_url":"https://api.github.com/repos/boonrs/council-trivia/tags","blobs_url":"https://api.github.com/repos/boonrs/council-trivia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boonrs/council-trivia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boonrs/council-trivia/git/refs{/sha}","trees_url":"https://api.github.com/repos/boonrs/council-trivia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boonrs/council-trivia/statuses/{sha}","languages_url":"https://api.github.com/repos/boonrs/council-trivia/languages","stargazers_url":"https://api.github.com/repos/boonrs/council-trivia/stargazers","contributors_url":"https://api.github.com/repos/boonrs/council-trivia/contributors","subscribers_url":"https://api.github.com/repos/boonrs/council-trivia/subscribers","subscription_url":"https://api.github.com/repos/boonrs/council-trivia/subscription","commits_url":"https://api.github.com/repos/boonrs/council-trivia/commits{/sha}","git_commits_url":"https://api.github.com/repos/boonrs/council-trivia/git/commits{/sha}","comments_url":"https://api.github.com/repos/boonrs/council-trivia/comments{/number}","issue_comment_url":"https://api.github.com/repos/boonrs/council-trivia/issues/comments{/number}","contents_url":"https://api.github.com/repos/boonrs/council-trivia/contents/{+path}","compare_url":"https://api.github.com/repos/boonrs/council-trivia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boonrs/council-trivia/merges","archive_url":"https://api.github.com/repos/boonrs/council-trivia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boonrs/council-trivia/downloads","issues_url":"https://api.github.com/repos/boonrs/council-trivia/issues{/number}","pulls_url":"https://api.github.com/repos/boonrs/council-trivia/pulls{/number}","milestones_url":"https://api.github.com/repos/boonrs/council-trivia/milestones{/number}","notifications_url":"https://api.github.com/repos/boonrs/council-trivia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boonrs/council-trivia/labels{/name}","releases_url":"https://api.github.com/repos/boonrs/council-trivia/releases{/id}","created_at":"2015-06-20T17:20:34Z","updated_at":"2015-06-20T17:23:18Z","pushed_at":"2015-06-25T15:22:58Z","git_url":"git://github.com/boonrs/council-trivia.git","ssh_url":"git@github.com:boonrs/council-trivia.git","clone_url":"https://github.com/boonrs/council-trivia.git","svn_url":"https://github.com/boonrs/council-trivia","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"boonrs:master","ref":"master","sha":"9e9ee63379a71a239d56fdaac53c42cc09b62f1b","user":{"login":"boonrs","id":219526,"avatar_url":"https://avatars.githubusercontent.com/u/219526?v=3","gravatar_id":"","url":"https://api.github.com/users/boonrs","html_url":"https://github.com/boonrs","followers_url":"https://api.github.com/users/boonrs/followers","following_url":"https://api.github.com/users/boonrs/following{/other_user}","gists_url":"https://api.github.com/users/boonrs/gists{/gist_id}","starred_url":"https://api.github.com/users/boonrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boonrs/subscriptions","organizations_url":"https://api.github.com/users/boonrs/orgs","repos_url":"https://api.github.com/users/boonrs/repos","events_url":"https://api.github.com/users/boonrs/events{/privacy}","received_events_url":"https://api.github.com/users/boonrs/received_events","type":"User","site_admin":false},"repo":{"id":37778536,"name":"council-trivia","full_name":"boonrs/council-trivia","owner":{"login":"boonrs","id":219526,"avatar_url":"https://avatars.githubusercontent.com/u/219526?v=3","gravatar_id":"","url":"https://api.github.com/users/boonrs","html_url":"https://github.com/boonrs","followers_url":"https://api.github.com/users/boonrs/followers","following_url":"https://api.github.com/users/boonrs/following{/other_user}","gists_url":"https://api.github.com/users/boonrs/gists{/gist_id}","starred_url":"https://api.github.com/users/boonrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boonrs/subscriptions","organizations_url":"https://api.github.com/users/boonrs/orgs","repos_url":"https://api.github.com/users/boonrs/repos","events_url":"https://api.github.com/users/boonrs/events{/privacy}","received_events_url":"https://api.github.com/users/boonrs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boonrs/council-trivia","description":"Lets trivialize council elections.","fork":false,"url":"https://api.github.com/repos/boonrs/council-trivia","forks_url":"https://api.github.com/repos/boonrs/council-trivia/forks","keys_url":"https://api.github.com/repos/boonrs/council-trivia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boonrs/council-trivia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boonrs/council-trivia/teams","hooks_url":"https://api.github.com/repos/boonrs/council-trivia/hooks","issue_events_url":"https://api.github.com/repos/boonrs/council-trivia/issues/events{/number}","events_url":"https://api.github.com/repos/boonrs/council-trivia/events","assignees_url":"https://api.github.com/repos/boonrs/council-trivia/assignees{/user}","branches_url":"https://api.github.com/repos/boonrs/council-trivia/branches{/branch}","tags_url":"https://api.github.com/repos/boonrs/council-trivia/tags","blobs_url":"https://api.github.com/repos/boonrs/council-trivia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boonrs/council-trivia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boonrs/council-trivia/git/refs{/sha}","trees_url":"https://api.github.com/repos/boonrs/council-trivia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boonrs/council-trivia/statuses/{sha}","languages_url":"https://api.github.com/repos/boonrs/council-trivia/languages","stargazers_url":"https://api.github.com/repos/boonrs/council-trivia/stargazers","contributors_url":"https://api.github.com/repos/boonrs/council-trivia/contributors","subscribers_url":"https://api.github.com/repos/boonrs/council-trivia/subscribers","subscription_url":"https://api.github.com/repos/boonrs/council-trivia/subscription","commits_url":"https://api.github.com/repos/boonrs/council-trivia/commits{/sha}","git_commits_url":"https://api.github.com/repos/boonrs/council-trivia/git/commits{/sha}","comments_url":"https://api.github.com/repos/boonrs/council-trivia/comments{/number}","issue_comment_url":"https://api.github.com/repos/boonrs/council-trivia/issues/comments{/number}","contents_url":"https://api.github.com/repos/boonrs/council-trivia/contents/{+path}","compare_url":"https://api.github.com/repos/boonrs/council-trivia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boonrs/council-trivia/merges","archive_url":"https://api.github.com/repos/boonrs/council-trivia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boonrs/council-trivia/downloads","issues_url":"https://api.github.com/repos/boonrs/council-trivia/issues{/number}","pulls_url":"https://api.github.com/repos/boonrs/council-trivia/pulls{/number}","milestones_url":"https://api.github.com/repos/boonrs/council-trivia/milestones{/number}","notifications_url":"https://api.github.com/repos/boonrs/council-trivia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boonrs/council-trivia/labels{/name}","releases_url":"https://api.github.com/repos/boonrs/council-trivia/releases{/id}","created_at":"2015-06-20T17:20:34Z","updated_at":"2015-06-20T17:23:18Z","pushed_at":"2015-06-25T15:22:58Z","git_url":"git://github.com/boonrs/council-trivia.git","ssh_url":"git@github.com:boonrs/council-trivia.git","clone_url":"https://github.com/boonrs/council-trivia.git","svn_url":"https://github.com/boonrs/council-trivia","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/boonrs/council-trivia/pulls/6"},"html":{"href":"https://github.com/boonrs/council-trivia/pull/6"},"issue":{"href":"https://api.github.com/repos/boonrs/council-trivia/issues/6"},"comments":{"href":"https://api.github.com/repos/boonrs/council-trivia/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/boonrs/council-trivia/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/boonrs/council-trivia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/boonrs/council-trivia/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/boonrs/council-trivia/statuses/fc6c0d40de3783d10e37423b52143a5c620ff80c"}}}}