{"action":"created","comment":{"url":"https://api.github.com/repos/parvathyv/rubbit/pulls/comments/22728712","id":22728712,"diff_hunk":"@@ -37,7 +37,7 @@ def create\n       UserMailer.review_notice(@article).deliver\n       redirect_to article_path(@article), :notice => \"Review successfully added\"\n     else\n-      redirect_to article_path(@article), :notice => \"Review did fail\"\n+      render :new, :notice => \"Review did fail\"","path":"app/controllers/reviews_controller.rb","position":5,"original_position":5,"commit_id":"5e1df8522e9d4adb4010dd48b89099897ac93e98","original_commit_id":"5e1df8522e9d4adb4010dd48b89099897ac93e98","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":"Use the new Ruby 1.9 hash syntax.","created_at":"2015-01-09T17:19:07Z","updated_at":"2015-01-09T17:19:07Z","html_url":"https://github.com/parvathyv/rubbit/pull/18#discussion_r22728712","pull_request_url":"https://api.github.com/repos/parvathyv/rubbit/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/parvathyv/rubbit/pulls/comments/22728712"},"html":{"href":"https://github.com/parvathyv/rubbit/pull/18#discussion_r22728712"},"pull_request":{"href":"https://api.github.com/repos/parvathyv/rubbit/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/parvathyv/rubbit/pulls/18","id":27114600,"html_url":"https://github.com/parvathyv/rubbit/pull/18","diff_url":"https://github.com/parvathyv/rubbit/pull/18.diff","patch_url":"https://github.com/parvathyv/rubbit/pull/18.patch","issue_url":"https://api.github.com/repos/parvathyv/rubbit/issues/18","number":18,"state":"open","locked":false,"title":"User can change vote","user":{"login":"SpencerCDixon","id":7471018,"avatar_url":"https://avatars.githubusercontent.com/u/7471018?v=3","gravatar_id":"","url":"https://api.github.com/users/SpencerCDixon","html_url":"https://github.com/SpencerCDixon","followers_url":"https://api.github.com/users/SpencerCDixon/followers","following_url":"https://api.github.com/users/SpencerCDixon/following{/other_user}","gists_url":"https://api.github.com/users/SpencerCDixon/gists{/gist_id}","starred_url":"https://api.github.com/users/SpencerCDixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpencerCDixon/subscriptions","organizations_url":"https://api.github.com/users/SpencerCDixon/orgs","repos_url":"https://api.github.com/users/SpencerCDixon/repos","events_url":"https://api.github.com/users/SpencerCDixon/events{/privacy}","received_events_url":"https://api.github.com/users/SpencerCDixon/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-09T17:19:03Z","updated_at":"2015-01-09T17:19:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/parvathyv/rubbit/pulls/18/commits","review_comments_url":"https://api.github.com/repos/parvathyv/rubbit/pulls/18/comments","review_comment_url":"https://api.github.com/repos/parvathyv/rubbit/pulls/comments/{number}","comments_url":"https://api.github.com/repos/parvathyv/rubbit/issues/18/comments","statuses_url":"https://api.github.com/repos/parvathyv/rubbit/statuses/5e1df8522e9d4adb4010dd48b89099897ac93e98","head":{"label":"parvathyv:zl_adds_better_tests","ref":"zl_adds_better_tests","sha":"5e1df8522e9d4adb4010dd48b89099897ac93e98","user":{"login":"parvathyv","id":8750739,"avatar_url":"https://avatars.githubusercontent.com/u/8750739?v=3","gravatar_id":"","url":"https://api.github.com/users/parvathyv","html_url":"https://github.com/parvathyv","followers_url":"https://api.github.com/users/parvathyv/followers","following_url":"https://api.github.com/users/parvathyv/following{/other_user}","gists_url":"https://api.github.com/users/parvathyv/gists{/gist_id}","starred_url":"https://api.github.com/users/parvathyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parvathyv/subscriptions","organizations_url":"https://api.github.com/users/parvathyv/orgs","repos_url":"https://api.github.com/users/parvathyv/repos","events_url":"https://api.github.com/users/parvathyv/events{/privacy}","received_events_url":"https://api.github.com/users/parvathyv/received_events","type":"User","site_admin":false},"repo":{"id":28603216,"name":"rubbit","full_name":"parvathyv/rubbit","owner":{"login":"parvathyv","id":8750739,"avatar_url":"https://avatars.githubusercontent.com/u/8750739?v=3","gravatar_id":"","url":"https://api.github.com/users/parvathyv","html_url":"https://github.com/parvathyv","followers_url":"https://api.github.com/users/parvathyv/followers","following_url":"https://api.github.com/users/parvathyv/following{/other_user}","gists_url":"https://api.github.com/users/parvathyv/gists{/gist_id}","starred_url":"https://api.github.com/users/parvathyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parvathyv/subscriptions","organizations_url":"https://api.github.com/users/parvathyv/orgs","repos_url":"https://api.github.com/users/parvathyv/repos","events_url":"https://api.github.com/users/parvathyv/events{/privacy}","received_events_url":"https://api.github.com/users/parvathyv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/parvathyv/rubbit","description":"","fork":false,"url":"https://api.github.com/repos/parvathyv/rubbit","forks_url":"https://api.github.com/repos/parvathyv/rubbit/forks","keys_url":"https://api.github.com/repos/parvathyv/rubbit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parvathyv/rubbit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parvathyv/rubbit/teams","hooks_url":"https://api.github.com/repos/parvathyv/rubbit/hooks","issue_events_url":"https://api.github.com/repos/parvathyv/rubbit/issues/events{/number}","events_url":"https://api.github.com/repos/parvathyv/rubbit/events","assignees_url":"https://api.github.com/repos/parvathyv/rubbit/assignees{/user}","branches_url":"https://api.github.com/repos/parvathyv/rubbit/branches{/branch}","tags_url":"https://api.github.com/repos/parvathyv/rubbit/tags","blobs_url":"https://api.github.com/repos/parvathyv/rubbit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parvathyv/rubbit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parvathyv/rubbit/git/refs{/sha}","trees_url":"https://api.github.com/repos/parvathyv/rubbit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parvathyv/rubbit/statuses/{sha}","languages_url":"https://api.github.com/repos/parvathyv/rubbit/languages","stargazers_url":"https://api.github.com/repos/parvathyv/rubbit/stargazers","contributors_url":"https://api.github.com/repos/parvathyv/rubbit/contributors","subscribers_url":"https://api.github.com/repos/parvathyv/rubbit/subscribers","subscription_url":"https://api.github.com/repos/parvathyv/rubbit/subscription","commits_url":"https://api.github.com/repos/parvathyv/rubbit/commits{/sha}","git_commits_url":"https://api.github.com/repos/parvathyv/rubbit/git/commits{/sha}","comments_url":"https://api.github.com/repos/parvathyv/rubbit/comments{/number}","issue_comment_url":"https://api.github.com/repos/parvathyv/rubbit/issues/comments/{number}","contents_url":"https://api.github.com/repos/parvathyv/rubbit/contents/{+path}","compare_url":"https://api.github.com/repos/parvathyv/rubbit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parvathyv/rubbit/merges","archive_url":"https://api.github.com/repos/parvathyv/rubbit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parvathyv/rubbit/downloads","issues_url":"https://api.github.com/repos/parvathyv/rubbit/issues{/number}","pulls_url":"https://api.github.com/repos/parvathyv/rubbit/pulls{/number}","milestones_url":"https://api.github.com/repos/parvathyv/rubbit/milestones{/number}","notifications_url":"https://api.github.com/repos/parvathyv/rubbit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parvathyv/rubbit/labels{/name}","releases_url":"https://api.github.com/repos/parvathyv/rubbit/releases{/id}","created_at":"2014-12-29T19:17:30Z","updated_at":"2015-01-08T22:39:29Z","pushed_at":"2015-01-09T17:02:12Z","git_url":"git://github.com/parvathyv/rubbit.git","ssh_url":"git@github.com:parvathyv/rubbit.git","clone_url":"https://github.com/parvathyv/rubbit.git","svn_url":"https://github.com/parvathyv/rubbit","homepage":null,"size":1488,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"parvathyv:master","ref":"master","sha":"b010e299c8126388525249da5b57a007ed2568de","user":{"login":"parvathyv","id":8750739,"avatar_url":"https://avatars.githubusercontent.com/u/8750739?v=3","gravatar_id":"","url":"https://api.github.com/users/parvathyv","html_url":"https://github.com/parvathyv","followers_url":"https://api.github.com/users/parvathyv/followers","following_url":"https://api.github.com/users/parvathyv/following{/other_user}","gists_url":"https://api.github.com/users/parvathyv/gists{/gist_id}","starred_url":"https://api.github.com/users/parvathyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parvathyv/subscriptions","organizations_url":"https://api.github.com/users/parvathyv/orgs","repos_url":"https://api.github.com/users/parvathyv/repos","events_url":"https://api.github.com/users/parvathyv/events{/privacy}","received_events_url":"https://api.github.com/users/parvathyv/received_events","type":"User","site_admin":false},"repo":{"id":28603216,"name":"rubbit","full_name":"parvathyv/rubbit","owner":{"login":"parvathyv","id":8750739,"avatar_url":"https://avatars.githubusercontent.com/u/8750739?v=3","gravatar_id":"","url":"https://api.github.com/users/parvathyv","html_url":"https://github.com/parvathyv","followers_url":"https://api.github.com/users/parvathyv/followers","following_url":"https://api.github.com/users/parvathyv/following{/other_user}","gists_url":"https://api.github.com/users/parvathyv/gists{/gist_id}","starred_url":"https://api.github.com/users/parvathyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parvathyv/subscriptions","organizations_url":"https://api.github.com/users/parvathyv/orgs","repos_url":"https://api.github.com/users/parvathyv/repos","events_url":"https://api.github.com/users/parvathyv/events{/privacy}","received_events_url":"https://api.github.com/users/parvathyv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/parvathyv/rubbit","description":"","fork":false,"url":"https://api.github.com/repos/parvathyv/rubbit","forks_url":"https://api.github.com/repos/parvathyv/rubbit/forks","keys_url":"https://api.github.com/repos/parvathyv/rubbit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parvathyv/rubbit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parvathyv/rubbit/teams","hooks_url":"https://api.github.com/repos/parvathyv/rubbit/hooks","issue_events_url":"https://api.github.com/repos/parvathyv/rubbit/issues/events{/number}","events_url":"https://api.github.com/repos/parvathyv/rubbit/events","assignees_url":"https://api.github.com/repos/parvathyv/rubbit/assignees{/user}","branches_url":"https://api.github.com/repos/parvathyv/rubbit/branches{/branch}","tags_url":"https://api.github.com/repos/parvathyv/rubbit/tags","blobs_url":"https://api.github.com/repos/parvathyv/rubbit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parvathyv/rubbit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parvathyv/rubbit/git/refs{/sha}","trees_url":"https://api.github.com/repos/parvathyv/rubbit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parvathyv/rubbit/statuses/{sha}","languages_url":"https://api.github.com/repos/parvathyv/rubbit/languages","stargazers_url":"https://api.github.com/repos/parvathyv/rubbit/stargazers","contributors_url":"https://api.github.com/repos/parvathyv/rubbit/contributors","subscribers_url":"https://api.github.com/repos/parvathyv/rubbit/subscribers","subscription_url":"https://api.github.com/repos/parvathyv/rubbit/subscription","commits_url":"https://api.github.com/repos/parvathyv/rubbit/commits{/sha}","git_commits_url":"https://api.github.com/repos/parvathyv/rubbit/git/commits{/sha}","comments_url":"https://api.github.com/repos/parvathyv/rubbit/comments{/number}","issue_comment_url":"https://api.github.com/repos/parvathyv/rubbit/issues/comments/{number}","contents_url":"https://api.github.com/repos/parvathyv/rubbit/contents/{+path}","compare_url":"https://api.github.com/repos/parvathyv/rubbit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parvathyv/rubbit/merges","archive_url":"https://api.github.com/repos/parvathyv/rubbit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parvathyv/rubbit/downloads","issues_url":"https://api.github.com/repos/parvathyv/rubbit/issues{/number}","pulls_url":"https://api.github.com/repos/parvathyv/rubbit/pulls{/number}","milestones_url":"https://api.github.com/repos/parvathyv/rubbit/milestones{/number}","notifications_url":"https://api.github.com/repos/parvathyv/rubbit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parvathyv/rubbit/labels{/name}","releases_url":"https://api.github.com/repos/parvathyv/rubbit/releases{/id}","created_at":"2014-12-29T19:17:30Z","updated_at":"2015-01-08T22:39:29Z","pushed_at":"2015-01-09T17:02:12Z","git_url":"git://github.com/parvathyv/rubbit.git","ssh_url":"git@github.com:parvathyv/rubbit.git","clone_url":"https://github.com/parvathyv/rubbit.git","svn_url":"https://github.com/parvathyv/rubbit","homepage":null,"size":1488,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/parvathyv/rubbit/pulls/18"},"html":{"href":"https://github.com/parvathyv/rubbit/pull/18"},"issue":{"href":"https://api.github.com/repos/parvathyv/rubbit/issues/18"},"comments":{"href":"https://api.github.com/repos/parvathyv/rubbit/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/parvathyv/rubbit/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/parvathyv/rubbit/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/parvathyv/rubbit/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/parvathyv/rubbit/statuses/5e1df8522e9d4adb4010dd48b89099897ac93e98"}}}}