{"action":"reopened","number":39,"pull_request":{"url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/pulls/39","id":28882194,"html_url":"https://github.com/eastern-moose-2014/beer_overflow/pull/39","diff_url":"https://github.com/eastern-moose-2014/beer_overflow/pull/39.diff","patch_url":"https://github.com/eastern-moose-2014/beer_overflow/pull/39.patch","issue_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/issues/39","number":39,"state":"open","locked":false,"title":"Ash voting forms","user":{"login":"ABaldwinHunter","id":8718443,"avatar_url":"https://avatars.githubusercontent.com/u/8718443?v=3","gravatar_id":"","url":"https://api.github.com/users/ABaldwinHunter","html_url":"https://github.com/ABaldwinHunter","followers_url":"https://api.github.com/users/ABaldwinHunter/followers","following_url":"https://api.github.com/users/ABaldwinHunter/following{/other_user}","gists_url":"https://api.github.com/users/ABaldwinHunter/gists{/gist_id}","starred_url":"https://api.github.com/users/ABaldwinHunter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ABaldwinHunter/subscriptions","organizations_url":"https://api.github.com/users/ABaldwinHunter/orgs","repos_url":"https://api.github.com/users/ABaldwinHunter/repos","events_url":"https://api.github.com/users/ABaldwinHunter/events{/privacy}","received_events_url":"https://api.github.com/users/ABaldwinHunter/received_events","type":"User","site_admin":false},"body":"Add voting functionality.\r\n\r\nCreate Votes controller.\r\n\r\nAdd upvote and downvote routes to each resource in routes and respective controller (questions, answers, answer_comments, question_comments)\r\n\r\nAdd display of vote count\r\n\r\nAdd logic to up and down vote methods so that people can only vote once, but can change their vote to a downvote.\r\n\r\nNote: the main action of upvoting and downvoting actually gets triggered in the controller of the resource being voted on, not the votes controller. Another group used that method and it worked well, when the polymorphic routing was not working out for me yesterday.","created_at":"2015-02-08T16:05:54Z","updated_at":"2015-02-08T16:13:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38531e60c80e9bea54a282f3001088032c0054fa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/pulls/39/commits","review_comments_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/pulls/39/comments","review_comment_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/pulls/comments/{number}","comments_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/issues/39/comments","statuses_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/statuses/bc979e8862dc53fe8e9dc5a9b1804bb738d656fe","head":{"label":"eastern-moose-2014:ash_voting_forms","ref":"ash_voting_forms","sha":"bc979e8862dc53fe8e9dc5a9b1804bb738d656fe","user":{"login":"eastern-moose-2014","id":6732842,"avatar_url":"https://avatars.githubusercontent.com/u/6732842?v=3","gravatar_id":"","url":"https://api.github.com/users/eastern-moose-2014","html_url":"https://github.com/eastern-moose-2014","followers_url":"https://api.github.com/users/eastern-moose-2014/followers","following_url":"https://api.github.com/users/eastern-moose-2014/following{/other_user}","gists_url":"https://api.github.com/users/eastern-moose-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/eastern-moose-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eastern-moose-2014/subscriptions","organizations_url":"https://api.github.com/users/eastern-moose-2014/orgs","repos_url":"https://api.github.com/users/eastern-moose-2014/repos","events_url":"https://api.github.com/users/eastern-moose-2014/events{/privacy}","received_events_url":"https://api.github.com/users/eastern-moose-2014/received_events","type":"Organization","site_admin":false},"repo":{"id":30378422,"name":"beer_overflow","full_name":"eastern-moose-2014/beer_overflow","owner":{"login":"eastern-moose-2014","id":6732842,"avatar_url":"https://avatars.githubusercontent.com/u/6732842?v=3","gravatar_id":"","url":"https://api.github.com/users/eastern-moose-2014","html_url":"https://github.com/eastern-moose-2014","followers_url":"https://api.github.com/users/eastern-moose-2014/followers","following_url":"https://api.github.com/users/eastern-moose-2014/following{/other_user}","gists_url":"https://api.github.com/users/eastern-moose-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/eastern-moose-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eastern-moose-2014/subscriptions","organizations_url":"https://api.github.com/users/eastern-moose-2014/orgs","repos_url":"https://api.github.com/users/eastern-moose-2014/repos","events_url":"https://api.github.com/users/eastern-moose-2014/events{/privacy}","received_events_url":"https://api.github.com/users/eastern-moose-2014/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eastern-moose-2014/beer_overflow","description":"Create forum for posting and sharing questions related to delicious fizzy substance. ","fork":false,"url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow","forks_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/forks","keys_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/teams","hooks_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/hooks","issue_events_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/issues/events{/number}","events_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/events","assignees_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/assignees{/user}","branches_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/branches{/branch}","tags_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/tags","blobs_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/statuses/{sha}","languages_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/languages","stargazers_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/stargazers","contributors_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/contributors","subscribers_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/subscribers","subscription_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/subscription","commits_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/issues/comments/{number}","contents_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/contents/{+path}","compare_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/merges","archive_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/downloads","issues_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/issues{/number}","pulls_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/pulls{/number}","milestones_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/milestones{/number}","notifications_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/labels{/name}","releases_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/releases{/id}","created_at":"2015-02-05T21:06:20Z","updated_at":"2015-02-08T15:43:45Z","pushed_at":"2015-02-08T16:13:31Z","git_url":"git://github.com/eastern-moose-2014/beer_overflow.git","ssh_url":"git@github.com:eastern-moose-2014/beer_overflow.git","clone_url":"https://github.com/eastern-moose-2014/beer_overflow.git","svn_url":"https://github.com/eastern-moose-2014/beer_overflow","homepage":null,"size":1096,"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":"eastern-moose-2014:master","ref":"master","sha":"e845a8cca556fd33d99d6d52f67a2afa79758d2b","user":{"login":"eastern-moose-2014","id":6732842,"avatar_url":"https://avatars.githubusercontent.com/u/6732842?v=3","gravatar_id":"","url":"https://api.github.com/users/eastern-moose-2014","html_url":"https://github.com/eastern-moose-2014","followers_url":"https://api.github.com/users/eastern-moose-2014/followers","following_url":"https://api.github.com/users/eastern-moose-2014/following{/other_user}","gists_url":"https://api.github.com/users/eastern-moose-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/eastern-moose-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eastern-moose-2014/subscriptions","organizations_url":"https://api.github.com/users/eastern-moose-2014/orgs","repos_url":"https://api.github.com/users/eastern-moose-2014/repos","events_url":"https://api.github.com/users/eastern-moose-2014/events{/privacy}","received_events_url":"https://api.github.com/users/eastern-moose-2014/received_events","type":"Organization","site_admin":false},"repo":{"id":30378422,"name":"beer_overflow","full_name":"eastern-moose-2014/beer_overflow","owner":{"login":"eastern-moose-2014","id":6732842,"avatar_url":"https://avatars.githubusercontent.com/u/6732842?v=3","gravatar_id":"","url":"https://api.github.com/users/eastern-moose-2014","html_url":"https://github.com/eastern-moose-2014","followers_url":"https://api.github.com/users/eastern-moose-2014/followers","following_url":"https://api.github.com/users/eastern-moose-2014/following{/other_user}","gists_url":"https://api.github.com/users/eastern-moose-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/eastern-moose-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eastern-moose-2014/subscriptions","organizations_url":"https://api.github.com/users/eastern-moose-2014/orgs","repos_url":"https://api.github.com/users/eastern-moose-2014/repos","events_url":"https://api.github.com/users/eastern-moose-2014/events{/privacy}","received_events_url":"https://api.github.com/users/eastern-moose-2014/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eastern-moose-2014/beer_overflow","description":"Create forum for posting and sharing questions related to delicious fizzy substance. ","fork":false,"url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow","forks_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/forks","keys_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/teams","hooks_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/hooks","issue_events_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/issues/events{/number}","events_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/events","assignees_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/assignees{/user}","branches_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/branches{/branch}","tags_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/tags","blobs_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/statuses/{sha}","languages_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/languages","stargazers_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/stargazers","contributors_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/contributors","subscribers_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/subscribers","subscription_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/subscription","commits_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/issues/comments/{number}","contents_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/contents/{+path}","compare_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/merges","archive_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/downloads","issues_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/issues{/number}","pulls_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/pulls{/number}","milestones_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/milestones{/number}","notifications_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/labels{/name}","releases_url":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/releases{/id}","created_at":"2015-02-05T21:06:20Z","updated_at":"2015-02-08T15:43:45Z","pushed_at":"2015-02-08T16:13:31Z","git_url":"git://github.com/eastern-moose-2014/beer_overflow.git","ssh_url":"git@github.com:eastern-moose-2014/beer_overflow.git","clone_url":"https://github.com/eastern-moose-2014/beer_overflow.git","svn_url":"https://github.com/eastern-moose-2014/beer_overflow","homepage":null,"size":1096,"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/eastern-moose-2014/beer_overflow/pulls/39"},"html":{"href":"https://github.com/eastern-moose-2014/beer_overflow/pull/39"},"issue":{"href":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/issues/39"},"comments":{"href":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/eastern-moose-2014/beer_overflow/statuses/bc979e8862dc53fe8e9dc5a9b1804bb738d656fe"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":173,"deletions":121,"changed_files":16}}