GitHub PullRequestReviewCommentEvent at 2014-11-13 14:08:22
Repository: survey_falcon
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/comments/20292084","id":20292084,"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":"0f2a6faa6316a293312c19d66757c5bc50bab556","original_commit_id":"0f2a6faa6316a293312c19d66757c5bc50bab556","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-13T14:08:22Z","updated_at":"2014-11-13T14:08:22Z","html_url":"https://github.com/fenjiot/survey_falcon/pull/8#discussion_r20292084","pull_request_url":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/comments/20292084"},"html":{"href":"https://github.com/fenjiot/survey_falcon/pull/8#discussion_r20292084"},"pull_request":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/8","id":24370106,"html_url":"https://github.com/fenjiot/survey_falcon/pull/8","diff_url":"https://github.com/fenjiot/survey_falcon/pull/8.diff","patch_url":"https://github.com/fenjiot/survey_falcon/pull/8.patch","issue_url":"https://api.github.com/repos/fenjiot/survey_falcon/issues/8","number":8,"state":"open","locked":false,"title":"Mtk users can answer text questions","user":{"login":"mattkiernan","id":4560985,"avatar_url":"https://avatars.githubusercontent.com/u/4560985?v=3","gravatar_id":"","url":"https://api.github.com/users/mattkiernan","html_url":"https://github.com/mattkiernan","followers_url":"https://api.github.com/users/mattkiernan/followers","following_url":"https://api.github.com/users/mattkiernan/following{/other_user}","gists_url":"https://api.github.com/users/mattkiernan/gists{/gist_id}","starred_url":"https://api.github.com/users/mattkiernan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattkiernan/subscriptions","organizations_url":"https://api.github.com/users/mattkiernan/orgs","repos_url":"https://api.github.com/users/mattkiernan/repos","events_url":"https://api.github.com/users/mattkiernan/events{/privacy}","received_events_url":"https://api.github.com/users/mattkiernan/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-11-13T14:08:18Z","updated_at":"2014-11-13T14:08:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/8/commits","review_comments_url":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/8/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/8/comments","statuses_url":"https://api.github.com/repos/fenjiot/survey_falcon/statuses/0f2a6faa6316a293312c19d66757c5bc50bab556","head":{"label":"fenjiot:mtk-users-can-answer-text-questions","ref":"mtk-users-can-answer-text-questions","sha":"0f2a6faa6316a293312c19d66757c5bc50bab556","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-13T12:52:10Z","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":1428,"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":"41744efa4b19cf92a83f794237202103ca80db00","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-13T12:52:10Z","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":1428,"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/8"},"html":{"href":"https://github.com/fenjiot/survey_falcon/pull/8"},"issue":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/issues/8"},"comments":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/pulls/8/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/8/commits"},"statuses":{"href":"https://api.github.com/repos/fenjiot/survey_falcon/statuses/0f2a6faa6316a293312c19d66757c5bc50bab556"}}}}