GitHub PullRequestReviewCommentEvent at 2014-11-12 21:19:50
Repository: survey_falcon
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/comments/20252323","id":20252323,"diff_hunk":"@@ -0,0 +1,16 @@\n+class TextAnswersController < ApplicationController\n+\n+  def create\n+    @text_answer = TextAnswer.new(text_answer_params)\n+    if @text_answer.save\n+      current_user.responses.create(answer: @text_answer, question_id: params[:question_id])","path":"app/controllers/text_answers_controller.rb","position":6,"original_position":6,"commit_id":"77b26937946b533743aa9970328b0dfc1c8f6f7c","original_commit_id":"77b26937946b533743aa9970328b0dfc1c8f6f7c","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":"Line is too long. [92/80]","created_at":"2014-11-12T21:19:50Z","updated_at":"2014-11-12T21:19:50Z","html_url":"https://github.com/fenjiot/survey_falcon/pull/7#discussion_r20252323","pull_request_url":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/comments/20252323"},"html":{"href":"https://github.com/fenjiot/survey_falcon/pull/7#discussion_r20252323"},"pull_request":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/7","id":24325759,"html_url":"https://github.com/fenjiot/survey_falcon/pull/7","diff_url":"https://github.com/fenjiot/survey_falcon/pull/7.diff","patch_url":"https://github.com/fenjiot/survey_falcon/pull/7.patch","issue_url":"https://api.github.com/repos/fenjiot/survey_falcon/issues/7","number":7,"state":"open","locked":false,"title":"Bmm users can answer surveys","user":{"login":"benmmasi","id":8154429,"avatar_url":"https://avatars.githubusercontent.com/u/8154429?v=3","gravatar_id":"","url":"https://api.github.com/users/benmmasi","html_url":"https://github.com/benmmasi","followers_url":"https://api.github.com/users/benmmasi/followers","following_url":"https://api.github.com/users/benmmasi/following{/other_user}","gists_url":"https://api.github.com/users/benmmasi/gists{/gist_id}","starred_url":"https://api.github.com/users/benmmasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmmasi/subscriptions","organizations_url":"https://api.github.com/users/benmmasi/orgs","repos_url":"https://api.github.com/users/benmmasi/repos","events_url":"https://api.github.com/users/benmmasi/events{/privacy}","received_events_url":"https://api.github.com/users/benmmasi/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-11-12T21:19:47Z","updated_at":"2014-11-12T21:19:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0071d24017760dbe2efb12b891b5b293c60a94a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/7/commits","review_comments_url":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/7/comments","review_comment_url":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/comments/{number}","comments_url":"https://api.github.com/repos/fenjiot/survey_falcon/issues/7/comments","statuses_url":"https://api.github.com/repos/fenjiot/survey_falcon/statuses/77b26937946b533743aa9970328b0dfc1c8f6f7c","head":{"label":"fenjiot:bmm-users-can-answer-surveys","ref":"bmm-users-can-answer-surveys","sha":"77b26937946b533743aa9970328b0dfc1c8f6f7c","user":{"login":"fenjiot","id":2309768,"avatar_url":"https://avatars.githubusercontent.com/u/2309768?v=3","gravatar_id":"","url":"https://api.github.com/users/fenjiot","html_url":"https://github.com/fenjiot","followers_url":"https://api.github.com/users/fenjiot/followers","following_url":"https://api.github.com/users/fenjiot/following{/other_user}","gists_url":"https://api.github.com/users/fenjiot/gists{/gist_id}","starred_url":"https://api.github.com/users/fenjiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fenjiot/subscriptions","organizations_url":"https://api.github.com/users/fenjiot/orgs","repos_url":"https://api.github.com/users/fenjiot/repos","events_url":"https://api.github.com/users/fenjiot/events{/privacy}","received_events_url":"https://api.github.com/users/fenjiot/received_events","type":"User","site_admin":false},"repo":{"id":26439835,"name":"survey_falcon","full_name":"fenjiot/survey_falcon","owner":{"login":"fenjiot","id":2309768,"avatar_url":"https://avatars.githubusercontent.com/u/2309768?v=3","gravatar_id":"","url":"https://api.github.com/users/fenjiot","html_url":"https://github.com/fenjiot","followers_url":"https://api.github.com/users/fenjiot/followers","following_url":"https://api.github.com/users/fenjiot/following{/other_user}","gists_url":"https://api.github.com/users/fenjiot/gists{/gist_id}","starred_url":"https://api.github.com/users/fenjiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fenjiot/subscriptions","organizations_url":"https://api.github.com/users/fenjiot/orgs","repos_url":"https://api.github.com/users/fenjiot/repos","events_url":"https://api.github.com/users/fenjiot/events{/privacy}","received_events_url":"https://api.github.com/users/fenjiot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fenjiot/survey_falcon","description":"","fork":false,"url":"https://api.github.com/repos/fenjiot/survey_falcon","forks_url":"https://api.github.com/repos/fenjiot/survey_falcon/forks","keys_url":"https://api.github.com/repos/fenjiot/survey_falcon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fenjiot/survey_falcon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fenjiot/survey_falcon/teams","hooks_url":"https://api.github.com/repos/fenjiot/survey_falcon/hooks","issue_events_url":"https://api.github.com/repos/fenjiot/survey_falcon/issues/events{/number}","events_url":"https://api.github.com/repos/fenjiot/survey_falcon/events","assignees_url":"https://api.github.com/repos/fenjiot/survey_falcon/assignees{/user}","branches_url":"https://api.github.com/repos/fenjiot/survey_falcon/branches{/branch}","tags_url":"https://api.github.com/repos/fenjiot/survey_falcon/tags","blobs_url":"https://api.github.com/repos/fenjiot/survey_falcon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fenjiot/survey_falcon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fenjiot/survey_falcon/git/refs{/sha}","trees_url":"https://api.github.com/repos/fenjiot/survey_falcon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fenjiot/survey_falcon/statuses/{sha}","languages_url":"https://api.github.com/repos/fenjiot/survey_falcon/languages","stargazers_url":"https://api.github.com/repos/fenjiot/survey_falcon/stargazers","contributors_url":"https://api.github.com/repos/fenjiot/survey_falcon/contributors","subscribers_url":"https://api.github.com/repos/fenjiot/survey_falcon/subscribers","subscription_url":"https://api.github.com/repos/fenjiot/survey_falcon/subscription","commits_url":"https://api.github.com/repos/fenjiot/survey_falcon/commits{/sha}","git_commits_url":"https://api.github.com/repos/fenjiot/survey_falcon/git/commits{/sha}","comments_url":"https://api.github.com/repos/fenjiot/survey_falcon/comments{/number}","issue_comment_url":"https://api.github.com/repos/fenjiot/survey_falcon/issues/comments/{number}","contents_url":"https://api.github.com/repos/fenjiot/survey_falcon/contents/{+path}","compare_url":"https://api.github.com/repos/fenjiot/survey_falcon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fenjiot/survey_falcon/merges","archive_url":"https://api.github.com/repos/fenjiot/survey_falcon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fenjiot/survey_falcon/downloads","issues_url":"https://api.github.com/repos/fenjiot/survey_falcon/issues{/number}","pulls_url":"https://api.github.com/repos/fenjiot/survey_falcon/pulls{/number}","milestones_url":"https://api.github.com/repos/fenjiot/survey_falcon/milestones{/number}","notifications_url":"https://api.github.com/repos/fenjiot/survey_falcon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fenjiot/survey_falcon/labels{/name}","releases_url":"https://api.github.com/repos/fenjiot/survey_falcon/releases{/id}","created_at":"2014-11-10T14:30:37Z","updated_at":"2014-11-10T14:34:30Z","pushed_at":"2014-11-12T21:18:15Z","git_url":"git://github.com/fenjiot/survey_falcon.git","ssh_url":"git@github.com:fenjiot/survey_falcon.git","clone_url":"https://github.com/fenjiot/survey_falcon.git","svn_url":"https://github.com/fenjiot/survey_falcon","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":"fenjiot:master","ref":"master","sha":"15a669980fb3cd5617ee15936024774eca735db5","user":{"login":"fenjiot","id":2309768,"avatar_url":"https://avatars.githubusercontent.com/u/2309768?v=3","gravatar_id":"","url":"https://api.github.com/users/fenjiot","html_url":"https://github.com/fenjiot","followers_url":"https://api.github.com/users/fenjiot/followers","following_url":"https://api.github.com/users/fenjiot/following{/other_user}","gists_url":"https://api.github.com/users/fenjiot/gists{/gist_id}","starred_url":"https://api.github.com/users/fenjiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fenjiot/subscriptions","organizations_url":"https://api.github.com/users/fenjiot/orgs","repos_url":"https://api.github.com/users/fenjiot/repos","events_url":"https://api.github.com/users/fenjiot/events{/privacy}","received_events_url":"https://api.github.com/users/fenjiot/received_events","type":"User","site_admin":false},"repo":{"id":26439835,"name":"survey_falcon","full_name":"fenjiot/survey_falcon","owner":{"login":"fenjiot","id":2309768,"avatar_url":"https://avatars.githubusercontent.com/u/2309768?v=3","gravatar_id":"","url":"https://api.github.com/users/fenjiot","html_url":"https://github.com/fenjiot","followers_url":"https://api.github.com/users/fenjiot/followers","following_url":"https://api.github.com/users/fenjiot/following{/other_user}","gists_url":"https://api.github.com/users/fenjiot/gists{/gist_id}","starred_url":"https://api.github.com/users/fenjiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fenjiot/subscriptions","organizations_url":"https://api.github.com/users/fenjiot/orgs","repos_url":"https://api.github.com/users/fenjiot/repos","events_url":"https://api.github.com/users/fenjiot/events{/privacy}","received_events_url":"https://api.github.com/users/fenjiot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fenjiot/survey_falcon","description":"","fork":false,"url":"https://api.github.com/repos/fenjiot/survey_falcon","forks_url":"https://api.github.com/repos/fenjiot/survey_falcon/forks","keys_url":"https://api.github.com/repos/fenjiot/survey_falcon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fenjiot/survey_falcon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fenjiot/survey_falcon/teams","hooks_url":"https://api.github.com/repos/fenjiot/survey_falcon/hooks","issue_events_url":"https://api.github.com/repos/fenjiot/survey_falcon/issues/events{/number}","events_url":"https://api.github.com/repos/fenjiot/survey_falcon/events","assignees_url":"https://api.github.com/repos/fenjiot/survey_falcon/assignees{/user}","branches_url":"https://api.github.com/repos/fenjiot/survey_falcon/branches{/branch}","tags_url":"https://api.github.com/repos/fenjiot/survey_falcon/tags","blobs_url":"https://api.github.com/repos/fenjiot/survey_falcon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fenjiot/survey_falcon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fenjiot/survey_falcon/git/refs{/sha}","trees_url":"https://api.github.com/repos/fenjiot/survey_falcon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fenjiot/survey_falcon/statuses/{sha}","languages_url":"https://api.github.com/repos/fenjiot/survey_falcon/languages","stargazers_url":"https://api.github.com/repos/fenjiot/survey_falcon/stargazers","contributors_url":"https://api.github.com/repos/fenjiot/survey_falcon/contributors","subscribers_url":"https://api.github.com/repos/fenjiot/survey_falcon/subscribers","subscription_url":"https://api.github.com/repos/fenjiot/survey_falcon/subscription","commits_url":"https://api.github.com/repos/fenjiot/survey_falcon/commits{/sha}","git_commits_url":"https://api.github.com/repos/fenjiot/survey_falcon/git/commits{/sha}","comments_url":"https://api.github.com/repos/fenjiot/survey_falcon/comments{/number}","issue_comment_url":"https://api.github.com/repos/fenjiot/survey_falcon/issues/comments/{number}","contents_url":"https://api.github.com/repos/fenjiot/survey_falcon/contents/{+path}","compare_url":"https://api.github.com/repos/fenjiot/survey_falcon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fenjiot/survey_falcon/merges","archive_url":"https://api.github.com/repos/fenjiot/survey_falcon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fenjiot/survey_falcon/downloads","issues_url":"https://api.github.com/repos/fenjiot/survey_falcon/issues{/number}","pulls_url":"https://api.github.com/repos/fenjiot/survey_falcon/pulls{/number}","milestones_url":"https://api.github.com/repos/fenjiot/survey_falcon/milestones{/number}","notifications_url":"https://api.github.com/repos/fenjiot/survey_falcon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fenjiot/survey_falcon/labels{/name}","releases_url":"https://api.github.com/repos/fenjiot/survey_falcon/releases{/id}","created_at":"2014-11-10T14:30:37Z","updated_at":"2014-11-10T14:34:30Z","pushed_at":"2014-11-12T21:18:15Z","git_url":"git://github.com/fenjiot/survey_falcon.git","ssh_url":"git@github.com:fenjiot/survey_falcon.git","clone_url":"https://github.com/fenjiot/survey_falcon.git","svn_url":"https://github.com/fenjiot/survey_falcon","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/fenjiot/survey_falcon/pulls/7"},"html":{"href":"https://github.com/fenjiot/survey_falcon/pull/7"},"issue":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/issues/7"},"comments":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/statuses/77b26937946b533743aa9970328b0dfc1c8f6f7c"}}}}