GitHub PullRequestReviewCommentEvent at 2014-07-30 14:10:54
Repository: facenovelr
Actor: gabebw
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/maneyt/facenovelr/pulls/comments/15585286","id":15585286,"diff_hunk":"@@ -1,8 +1,8 @@\n class CommentsController < ApplicationController\n   def create\n     commentable = find_commentable\n-    current_user.comments.create(comment_params.merge(commentable: commentable))\n-    redirect_to commentable\n+    @comment = current_user.comments.create(comment_params.merge(commentable: commentable))","path":"app/controllers/comments_controller.rb","position":6,"original_position":6,"commit_id":"2e2226f2920c2b69eb1f1996ba5f47eef59370eb","original_commit_id":"ec189730eb0d6b8fd79d2f18522f69e990bcb385","user":{"login":"gabebw","id":257678,"avatar_url":"https://avatars.githubusercontent.com/u/257678?v=1","gravatar_id":"c2ada1048886a081a615f8a44a3024c7","url":"https://api.github.com/users/gabebw","html_url":"https://github.com/gabebw","followers_url":"https://api.github.com/users/gabebw/followers","following_url":"https://api.github.com/users/gabebw/following{/other_user}","gists_url":"https://api.github.com/users/gabebw/gists{/gist_id}","starred_url":"https://api.github.com/users/gabebw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabebw/subscriptions","organizations_url":"https://api.github.com/users/gabebw/orgs","repos_url":"https://api.github.com/users/gabebw/repos","events_url":"https://api.github.com/users/gabebw/events{/privacy}","received_events_url":"https://api.github.com/users/gabebw/received_events","type":"User","site_admin":false},"body":"Does this need to be an instance variable?","created_at":"2014-07-30T14:10:54Z","updated_at":"2014-07-30T14:10:54Z","html_url":"https://github.com/maneyt/facenovelr/pull/15#discussion_r15585286","pull_request_url":"https://api.github.com/repos/maneyt/facenovelr/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/maneyt/facenovelr/pulls/comments/15585286"},"html":{"href":"https://github.com/maneyt/facenovelr/pull/15#discussion_r15585286"},"pull_request":{"href":"https://api.github.com/repos/maneyt/facenovelr/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/maneyt/facenovelr/pulls/15","id":19090102,"html_url":"https://github.com/maneyt/facenovelr/pull/15","diff_url":"https://github.com/maneyt/facenovelr/pull/15.diff","patch_url":"https://github.com/maneyt/facenovelr/pull/15.patch","issue_url":"https://api.github.com/repos/maneyt/facenovelr/issues/15","number":15,"state":"open","title":"Update photo comments via ajax","user":{"login":"maneyt","id":4774751,"avatar_url":"https://avatars.githubusercontent.com/u/4774751?v=1","gravatar_id":"874f1d4e05d70d843a30a42f99c4be15","url":"https://api.github.com/users/maneyt","html_url":"https://github.com/maneyt","followers_url":"https://api.github.com/users/maneyt/followers","following_url":"https://api.github.com/users/maneyt/following{/other_user}","gists_url":"https://api.github.com/users/maneyt/gists{/gist_id}","starred_url":"https://api.github.com/users/maneyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maneyt/subscriptions","organizations_url":"https://api.github.com/users/maneyt/orgs","repos_url":"https://api.github.com/users/maneyt/repos","events_url":"https://api.github.com/users/maneyt/events{/privacy}","received_events_url":"https://api.github.com/users/maneyt/received_events","type":"User","site_admin":false},"body":"@ChristopherThorsen @mikeymurph77 ","created_at":"2014-07-30T13:54:05Z","updated_at":"2014-07-30T14:10:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be841006857f2e322784647fd3f4e9c4b7883f67","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/maneyt/facenovelr/pulls/15/commits","review_comments_url":"https://api.github.com/repos/maneyt/facenovelr/pulls/15/comments","review_comment_url":"https://api.github.com/repos/maneyt/facenovelr/pulls/comments/{number}","comments_url":"https://api.github.com/repos/maneyt/facenovelr/issues/15/comments","statuses_url":"https://api.github.com/repos/maneyt/facenovelr/statuses/2e2226f2920c2b69eb1f1996ba5f47eef59370eb","head":{"label":"maneyt:tm-ajax-comments","ref":"tm-ajax-comments","sha":"2e2226f2920c2b69eb1f1996ba5f47eef59370eb","user":{"login":"maneyt","id":4774751,"avatar_url":"https://avatars.githubusercontent.com/u/4774751?v=1","gravatar_id":"874f1d4e05d70d843a30a42f99c4be15","url":"https://api.github.com/users/maneyt","html_url":"https://github.com/maneyt","followers_url":"https://api.github.com/users/maneyt/followers","following_url":"https://api.github.com/users/maneyt/following{/other_user}","gists_url":"https://api.github.com/users/maneyt/gists{/gist_id}","starred_url":"https://api.github.com/users/maneyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maneyt/subscriptions","organizations_url":"https://api.github.com/users/maneyt/orgs","repos_url":"https://api.github.com/users/maneyt/repos","events_url":"https://api.github.com/users/maneyt/events{/privacy}","received_events_url":"https://api.github.com/users/maneyt/received_events","type":"User","site_admin":false},"repo":{"id":22344563,"name":"facenovelr","full_name":"maneyt/facenovelr","owner":{"login":"maneyt","id":4774751,"avatar_url":"https://avatars.githubusercontent.com/u/4774751?v=1","gravatar_id":"874f1d4e05d70d843a30a42f99c4be15","url":"https://api.github.com/users/maneyt","html_url":"https://github.com/maneyt","followers_url":"https://api.github.com/users/maneyt/followers","following_url":"https://api.github.com/users/maneyt/following{/other_user}","gists_url":"https://api.github.com/users/maneyt/gists{/gist_id}","starred_url":"https://api.github.com/users/maneyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maneyt/subscriptions","organizations_url":"https://api.github.com/users/maneyt/orgs","repos_url":"https://api.github.com/users/maneyt/repos","events_url":"https://api.github.com/users/maneyt/events{/privacy}","received_events_url":"https://api.github.com/users/maneyt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maneyt/facenovelr","description":"Facebook clone","fork":false,"url":"https://api.github.com/repos/maneyt/facenovelr","forks_url":"https://api.github.com/repos/maneyt/facenovelr/forks","keys_url":"https://api.github.com/repos/maneyt/facenovelr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maneyt/facenovelr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maneyt/facenovelr/teams","hooks_url":"https://api.github.com/repos/maneyt/facenovelr/hooks","issue_events_url":"https://api.github.com/repos/maneyt/facenovelr/issues/events{/number}","events_url":"https://api.github.com/repos/maneyt/facenovelr/events","assignees_url":"https://api.github.com/repos/maneyt/facenovelr/assignees{/user}","branches_url":"https://api.github.com/repos/maneyt/facenovelr/branches{/branch}","tags_url":"https://api.github.com/repos/maneyt/facenovelr/tags","blobs_url":"https://api.github.com/repos/maneyt/facenovelr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maneyt/facenovelr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maneyt/facenovelr/git/refs{/sha}","trees_url":"https://api.github.com/repos/maneyt/facenovelr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maneyt/facenovelr/statuses/{sha}","languages_url":"https://api.github.com/repos/maneyt/facenovelr/languages","stargazers_url":"https://api.github.com/repos/maneyt/facenovelr/stargazers","contributors_url":"https://api.github.com/repos/maneyt/facenovelr/contributors","subscribers_url":"https://api.github.com/repos/maneyt/facenovelr/subscribers","subscription_url":"https://api.github.com/repos/maneyt/facenovelr/subscription","commits_url":"https://api.github.com/repos/maneyt/facenovelr/commits{/sha}","git_commits_url":"https://api.github.com/repos/maneyt/facenovelr/git/commits{/sha}","comments_url":"https://api.github.com/repos/maneyt/facenovelr/comments{/number}","issue_comment_url":"https://api.github.com/repos/maneyt/facenovelr/issues/comments/{number}","contents_url":"https://api.github.com/repos/maneyt/facenovelr/contents/{+path}","compare_url":"https://api.github.com/repos/maneyt/facenovelr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maneyt/facenovelr/merges","archive_url":"https://api.github.com/repos/maneyt/facenovelr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maneyt/facenovelr/downloads","issues_url":"https://api.github.com/repos/maneyt/facenovelr/issues{/number}","pulls_url":"https://api.github.com/repos/maneyt/facenovelr/pulls{/number}","milestones_url":"https://api.github.com/repos/maneyt/facenovelr/milestones{/number}","notifications_url":"https://api.github.com/repos/maneyt/facenovelr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maneyt/facenovelr/labels{/name}","releases_url":"https://api.github.com/repos/maneyt/facenovelr/releases{/id}","created_at":"2014-07-28T14:04:47Z","updated_at":"2014-07-28T14:04:59Z","pushed_at":"2014-07-30T14:10:51Z","git_url":"git://github.com/maneyt/facenovelr.git","ssh_url":"git@github.com:maneyt/facenovelr.git","clone_url":"https://github.com/maneyt/facenovelr.git","svn_url":"https://github.com/maneyt/facenovelr","homepage":null,"size":1688,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"maneyt:master","ref":"master","sha":"4d774646423aaa7eb179399bf41fea1d6d5d6555","user":{"login":"maneyt","id":4774751,"avatar_url":"https://avatars.githubusercontent.com/u/4774751?v=1","gravatar_id":"874f1d4e05d70d843a30a42f99c4be15","url":"https://api.github.com/users/maneyt","html_url":"https://github.com/maneyt","followers_url":"https://api.github.com/users/maneyt/followers","following_url":"https://api.github.com/users/maneyt/following{/other_user}","gists_url":"https://api.github.com/users/maneyt/gists{/gist_id}","starred_url":"https://api.github.com/users/maneyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maneyt/subscriptions","organizations_url":"https://api.github.com/users/maneyt/orgs","repos_url":"https://api.github.com/users/maneyt/repos","events_url":"https://api.github.com/users/maneyt/events{/privacy}","received_events_url":"https://api.github.com/users/maneyt/received_events","type":"User","site_admin":false},"repo":{"id":22344563,"name":"facenovelr","full_name":"maneyt/facenovelr","owner":{"login":"maneyt","id":4774751,"avatar_url":"https://avatars.githubusercontent.com/u/4774751?v=1","gravatar_id":"874f1d4e05d70d843a30a42f99c4be15","url":"https://api.github.com/users/maneyt","html_url":"https://github.com/maneyt","followers_url":"https://api.github.com/users/maneyt/followers","following_url":"https://api.github.com/users/maneyt/following{/other_user}","gists_url":"https://api.github.com/users/maneyt/gists{/gist_id}","starred_url":"https://api.github.com/users/maneyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maneyt/subscriptions","organizations_url":"https://api.github.com/users/maneyt/orgs","repos_url":"https://api.github.com/users/maneyt/repos","events_url":"https://api.github.com/users/maneyt/events{/privacy}","received_events_url":"https://api.github.com/users/maneyt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maneyt/facenovelr","description":"Facebook clone","fork":false,"url":"https://api.github.com/repos/maneyt/facenovelr","forks_url":"https://api.github.com/repos/maneyt/facenovelr/forks","keys_url":"https://api.github.com/repos/maneyt/facenovelr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maneyt/facenovelr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maneyt/facenovelr/teams","hooks_url":"https://api.github.com/repos/maneyt/facenovelr/hooks","issue_events_url":"https://api.github.com/repos/maneyt/facenovelr/issues/events{/number}","events_url":"https://api.github.com/repos/maneyt/facenovelr/events","assignees_url":"https://api.github.com/repos/maneyt/facenovelr/assignees{/user}","branches_url":"https://api.github.com/repos/maneyt/facenovelr/branches{/branch}","tags_url":"https://api.github.com/repos/maneyt/facenovelr/tags","blobs_url":"https://api.github.com/repos/maneyt/facenovelr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maneyt/facenovelr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maneyt/facenovelr/git/refs{/sha}","trees_url":"https://api.github.com/repos/maneyt/facenovelr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maneyt/facenovelr/statuses/{sha}","languages_url":"https://api.github.com/repos/maneyt/facenovelr/languages","stargazers_url":"https://api.github.com/repos/maneyt/facenovelr/stargazers","contributors_url":"https://api.github.com/repos/maneyt/facenovelr/contributors","subscribers_url":"https://api.github.com/repos/maneyt/facenovelr/subscribers","subscription_url":"https://api.github.com/repos/maneyt/facenovelr/subscription","commits_url":"https://api.github.com/repos/maneyt/facenovelr/commits{/sha}","git_commits_url":"https://api.github.com/repos/maneyt/facenovelr/git/commits{/sha}","comments_url":"https://api.github.com/repos/maneyt/facenovelr/comments{/number}","issue_comment_url":"https://api.github.com/repos/maneyt/facenovelr/issues/comments/{number}","contents_url":"https://api.github.com/repos/maneyt/facenovelr/contents/{+path}","compare_url":"https://api.github.com/repos/maneyt/facenovelr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maneyt/facenovelr/merges","archive_url":"https://api.github.com/repos/maneyt/facenovelr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maneyt/facenovelr/downloads","issues_url":"https://api.github.com/repos/maneyt/facenovelr/issues{/number}","pulls_url":"https://api.github.com/repos/maneyt/facenovelr/pulls{/number}","milestones_url":"https://api.github.com/repos/maneyt/facenovelr/milestones{/number}","notifications_url":"https://api.github.com/repos/maneyt/facenovelr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maneyt/facenovelr/labels{/name}","releases_url":"https://api.github.com/repos/maneyt/facenovelr/releases{/id}","created_at":"2014-07-28T14:04:47Z","updated_at":"2014-07-28T14:04:59Z","pushed_at":"2014-07-30T14:10:51Z","git_url":"git://github.com/maneyt/facenovelr.git","ssh_url":"git@github.com:maneyt/facenovelr.git","clone_url":"https://github.com/maneyt/facenovelr.git","svn_url":"https://github.com/maneyt/facenovelr","homepage":null,"size":1688,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/maneyt/facenovelr/pulls/15"},"html":{"href":"https://github.com/maneyt/facenovelr/pull/15"},"issue":{"href":"https://api.github.com/repos/maneyt/facenovelr/issues/15"},"comments":{"href":"https://api.github.com/repos/maneyt/facenovelr/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/maneyt/facenovelr/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/maneyt/facenovelr/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/maneyt/facenovelr/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/maneyt/facenovelr/statuses/2e2226f2920c2b69eb1f1996ba5f47eef59370eb"}}}}