{"action":"created","comment":{"url":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls/comments/109295136","pull_request_review_id":30392064,"id":109295136,"diff_hunk":"@@ -5,8 +5,9 @@ def create\n     @question = Question.find(params[:answer][:question])\n     @answer = @question.answers.new(answer_params)\n     @answer.user = current_user\n+    @comment = @question.comments.new\n     if @answer.save\n-      flash[:success] = \"You commented!\"\n+      flash[:success] = \"You answered the question!\"","path":"app/controllers/answers_controller.rb","position":7,"original_position":7,"commit_id":"a4a3a3c42244d43241f9b94dfdaff282e28e6de8","original_commit_id":"a4a3a3c42244d43241f9b94dfdaff282e28e6de8","user":{"login":"andrewdwooten","id":21285661,"avatar_url":"https://avatars2.githubusercontent.com/u/21285661?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewdwooten","html_url":"https://github.com/andrewdwooten","followers_url":"https://api.github.com/users/andrewdwooten/followers","following_url":"https://api.github.com/users/andrewdwooten/following{/other_user}","gists_url":"https://api.github.com/users/andrewdwooten/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewdwooten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewdwooten/subscriptions","organizations_url":"https://api.github.com/users/andrewdwooten/orgs","repos_url":"https://api.github.com/users/andrewdwooten/repos","events_url":"https://api.github.com/users/andrewdwooten/events{/privacy}","received_events_url":"https://api.github.com/users/andrewdwooten/received_events","type":"User","site_admin":false},"body":"Great job getting all of this logic built out. That form was a jerk with the amount of parameters that it needed.","created_at":"2017-04-01T21:56:46Z","updated_at":"2017-04-01T22:03:00Z","html_url":"https://github.com/TheKaterTot/cloney_island/pull/102#discussion_r109295136","pull_request_url":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls/102","_links":{"self":{"href":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls/comments/109295136"},"html":{"href":"https://github.com/TheKaterTot/cloney_island/pull/102#discussion_r109295136"},"pull_request":{"href":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls/102"}}},"pull_request":{"url":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls/102","id":113794181,"html_url":"https://github.com/TheKaterTot/cloney_island/pull/102","diff_url":"https://github.com/TheKaterTot/cloney_island/pull/102.diff","patch_url":"https://github.com/TheKaterTot/cloney_island/pull/102.patch","issue_url":"https://api.github.com/repos/TheKaterTot/cloney_island/issues/102","number":102,"state":"open","locked":false,"title":"User comment question","user":{"login":"blackknight75","id":20252614,"avatar_url":"https://avatars0.githubusercontent.com/u/20252614?v=3","gravatar_id":"","url":"https://api.github.com/users/blackknight75","html_url":"https://github.com/blackknight75","followers_url":"https://api.github.com/users/blackknight75/followers","following_url":"https://api.github.com/users/blackknight75/following{/other_user}","gists_url":"https://api.github.com/users/blackknight75/gists{/gist_id}","starred_url":"https://api.github.com/users/blackknight75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackknight75/subscriptions","organizations_url":"https://api.github.com/users/blackknight75/orgs","repos_url":"https://api.github.com/users/blackknight75/repos","events_url":"https://api.github.com/users/blackknight75/events{/privacy}","received_events_url":"https://api.github.com/users/blackknight75/received_events","type":"User","site_admin":false},"body":"Add comments to questions.\r\nWe can now add questions to comments. It was a little tricky to make work with passing things back to the question page. If you are getting a nil class error when you go back to your show page. Make sure you are passing all the necessary instance variables along with your request.","created_at":"2017-04-01T20:51:36Z","updated_at":"2017-04-01T22:03:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a2c8647a8a78b9f9d35ae9f48027446d82415081","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls/102/commits","review_comments_url":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls/102/comments","review_comment_url":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TheKaterTot/cloney_island/issues/102/comments","statuses_url":"https://api.github.com/repos/TheKaterTot/cloney_island/statuses/a4a3a3c42244d43241f9b94dfdaff282e28e6de8","head":{"label":"TheKaterTot:user-comment-question","ref":"user-comment-question","sha":"a4a3a3c42244d43241f9b94dfdaff282e28e6de8","user":{"login":"TheKaterTot","id":1721599,"avatar_url":"https://avatars3.githubusercontent.com/u/1721599?v=3","gravatar_id":"","url":"https://api.github.com/users/TheKaterTot","html_url":"https://github.com/TheKaterTot","followers_url":"https://api.github.com/users/TheKaterTot/followers","following_url":"https://api.github.com/users/TheKaterTot/following{/other_user}","gists_url":"https://api.github.com/users/TheKaterTot/gists{/gist_id}","starred_url":"https://api.github.com/users/TheKaterTot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheKaterTot/subscriptions","organizations_url":"https://api.github.com/users/TheKaterTot/orgs","repos_url":"https://api.github.com/users/TheKaterTot/repos","events_url":"https://api.github.com/users/TheKaterTot/events{/privacy}","received_events_url":"https://api.github.com/users/TheKaterTot/received_events","type":"User","site_admin":false},"repo":{"id":86387649,"name":"cloney_island","full_name":"TheKaterTot/cloney_island","owner":{"login":"TheKaterTot","id":1721599,"avatar_url":"https://avatars3.githubusercontent.com/u/1721599?v=3","gravatar_id":"","url":"https://api.github.com/users/TheKaterTot","html_url":"https://github.com/TheKaterTot","followers_url":"https://api.github.com/users/TheKaterTot/followers","following_url":"https://api.github.com/users/TheKaterTot/following{/other_user}","gists_url":"https://api.github.com/users/TheKaterTot/gists{/gist_id}","starred_url":"https://api.github.com/users/TheKaterTot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheKaterTot/subscriptions","organizations_url":"https://api.github.com/users/TheKaterTot/orgs","repos_url":"https://api.github.com/users/TheKaterTot/repos","events_url":"https://api.github.com/users/TheKaterTot/events{/privacy}","received_events_url":"https://api.github.com/users/TheKaterTot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheKaterTot/cloney_island","description":null,"fork":false,"url":"https://api.github.com/repos/TheKaterTot/cloney_island","forks_url":"https://api.github.com/repos/TheKaterTot/cloney_island/forks","keys_url":"https://api.github.com/repos/TheKaterTot/cloney_island/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheKaterTot/cloney_island/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheKaterTot/cloney_island/teams","hooks_url":"https://api.github.com/repos/TheKaterTot/cloney_island/hooks","issue_events_url":"https://api.github.com/repos/TheKaterTot/cloney_island/issues/events{/number}","events_url":"https://api.github.com/repos/TheKaterTot/cloney_island/events","assignees_url":"https://api.github.com/repos/TheKaterTot/cloney_island/assignees{/user}","branches_url":"https://api.github.com/repos/TheKaterTot/cloney_island/branches{/branch}","tags_url":"https://api.github.com/repos/TheKaterTot/cloney_island/tags","blobs_url":"https://api.github.com/repos/TheKaterTot/cloney_island/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheKaterTot/cloney_island/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheKaterTot/cloney_island/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheKaterTot/cloney_island/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheKaterTot/cloney_island/statuses/{sha}","languages_url":"https://api.github.com/repos/TheKaterTot/cloney_island/languages","stargazers_url":"https://api.github.com/repos/TheKaterTot/cloney_island/stargazers","contributors_url":"https://api.github.com/repos/TheKaterTot/cloney_island/contributors","subscribers_url":"https://api.github.com/repos/TheKaterTot/cloney_island/subscribers","subscription_url":"https://api.github.com/repos/TheKaterTot/cloney_island/subscription","commits_url":"https://api.github.com/repos/TheKaterTot/cloney_island/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheKaterTot/cloney_island/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheKaterTot/cloney_island/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheKaterTot/cloney_island/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheKaterTot/cloney_island/contents/{+path}","compare_url":"https://api.github.com/repos/TheKaterTot/cloney_island/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheKaterTot/cloney_island/merges","archive_url":"https://api.github.com/repos/TheKaterTot/cloney_island/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheKaterTot/cloney_island/downloads","issues_url":"https://api.github.com/repos/TheKaterTot/cloney_island/issues{/number}","pulls_url":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls{/number}","milestones_url":"https://api.github.com/repos/TheKaterTot/cloney_island/milestones{/number}","notifications_url":"https://api.github.com/repos/TheKaterTot/cloney_island/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheKaterTot/cloney_island/labels{/name}","releases_url":"https://api.github.com/repos/TheKaterTot/cloney_island/releases{/id}","deployments_url":"https://api.github.com/repos/TheKaterTot/cloney_island/deployments","created_at":"2017-03-27T21:54:38Z","updated_at":"2017-03-29T00:05:17Z","pushed_at":"2017-04-01T21:48:38Z","git_url":"git://github.com/TheKaterTot/cloney_island.git","ssh_url":"git@github.com:TheKaterTot/cloney_island.git","clone_url":"https://github.com/TheKaterTot/cloney_island.git","svn_url":"https://github.com/TheKaterTot/cloney_island","homepage":null,"size":1352,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":35,"forks":0,"open_issues":35,"watchers":0,"default_branch":"master"}},"base":{"label":"TheKaterTot:master","ref":"master","sha":"9d2e05136b54a07bbad96d9875fa30d09cec747f","user":{"login":"TheKaterTot","id":1721599,"avatar_url":"https://avatars3.githubusercontent.com/u/1721599?v=3","gravatar_id":"","url":"https://api.github.com/users/TheKaterTot","html_url":"https://github.com/TheKaterTot","followers_url":"https://api.github.com/users/TheKaterTot/followers","following_url":"https://api.github.com/users/TheKaterTot/following{/other_user}","gists_url":"https://api.github.com/users/TheKaterTot/gists{/gist_id}","starred_url":"https://api.github.com/users/TheKaterTot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheKaterTot/subscriptions","organizations_url":"https://api.github.com/users/TheKaterTot/orgs","repos_url":"https://api.github.com/users/TheKaterTot/repos","events_url":"https://api.github.com/users/TheKaterTot/events{/privacy}","received_events_url":"https://api.github.com/users/TheKaterTot/received_events","type":"User","site_admin":false},"repo":{"id":86387649,"name":"cloney_island","full_name":"TheKaterTot/cloney_island","owner":{"login":"TheKaterTot","id":1721599,"avatar_url":"https://avatars3.githubusercontent.com/u/1721599?v=3","gravatar_id":"","url":"https://api.github.com/users/TheKaterTot","html_url":"https://github.com/TheKaterTot","followers_url":"https://api.github.com/users/TheKaterTot/followers","following_url":"https://api.github.com/users/TheKaterTot/following{/other_user}","gists_url":"https://api.github.com/users/TheKaterTot/gists{/gist_id}","starred_url":"https://api.github.com/users/TheKaterTot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheKaterTot/subscriptions","organizations_url":"https://api.github.com/users/TheKaterTot/orgs","repos_url":"https://api.github.com/users/TheKaterTot/repos","events_url":"https://api.github.com/users/TheKaterTot/events{/privacy}","received_events_url":"https://api.github.com/users/TheKaterTot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheKaterTot/cloney_island","description":null,"fork":false,"url":"https://api.github.com/repos/TheKaterTot/cloney_island","forks_url":"https://api.github.com/repos/TheKaterTot/cloney_island/forks","keys_url":"https://api.github.com/repos/TheKaterTot/cloney_island/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheKaterTot/cloney_island/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheKaterTot/cloney_island/teams","hooks_url":"https://api.github.com/repos/TheKaterTot/cloney_island/hooks","issue_events_url":"https://api.github.com/repos/TheKaterTot/cloney_island/issues/events{/number}","events_url":"https://api.github.com/repos/TheKaterTot/cloney_island/events","assignees_url":"https://api.github.com/repos/TheKaterTot/cloney_island/assignees{/user}","branches_url":"https://api.github.com/repos/TheKaterTot/cloney_island/branches{/branch}","tags_url":"https://api.github.com/repos/TheKaterTot/cloney_island/tags","blobs_url":"https://api.github.com/repos/TheKaterTot/cloney_island/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheKaterTot/cloney_island/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheKaterTot/cloney_island/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheKaterTot/cloney_island/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheKaterTot/cloney_island/statuses/{sha}","languages_url":"https://api.github.com/repos/TheKaterTot/cloney_island/languages","stargazers_url":"https://api.github.com/repos/TheKaterTot/cloney_island/stargazers","contributors_url":"https://api.github.com/repos/TheKaterTot/cloney_island/contributors","subscribers_url":"https://api.github.com/repos/TheKaterTot/cloney_island/subscribers","subscription_url":"https://api.github.com/repos/TheKaterTot/cloney_island/subscription","commits_url":"https://api.github.com/repos/TheKaterTot/cloney_island/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheKaterTot/cloney_island/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheKaterTot/cloney_island/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheKaterTot/cloney_island/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheKaterTot/cloney_island/contents/{+path}","compare_url":"https://api.github.com/repos/TheKaterTot/cloney_island/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheKaterTot/cloney_island/merges","archive_url":"https://api.github.com/repos/TheKaterTot/cloney_island/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheKaterTot/cloney_island/downloads","issues_url":"https://api.github.com/repos/TheKaterTot/cloney_island/issues{/number}","pulls_url":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls{/number}","milestones_url":"https://api.github.com/repos/TheKaterTot/cloney_island/milestones{/number}","notifications_url":"https://api.github.com/repos/TheKaterTot/cloney_island/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheKaterTot/cloney_island/labels{/name}","releases_url":"https://api.github.com/repos/TheKaterTot/cloney_island/releases{/id}","deployments_url":"https://api.github.com/repos/TheKaterTot/cloney_island/deployments","created_at":"2017-03-27T21:54:38Z","updated_at":"2017-03-29T00:05:17Z","pushed_at":"2017-04-01T21:48:38Z","git_url":"git://github.com/TheKaterTot/cloney_island.git","ssh_url":"git@github.com:TheKaterTot/cloney_island.git","clone_url":"https://github.com/TheKaterTot/cloney_island.git","svn_url":"https://github.com/TheKaterTot/cloney_island","homepage":null,"size":1352,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":35,"forks":0,"open_issues":35,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls/102"},"html":{"href":"https://github.com/TheKaterTot/cloney_island/pull/102"},"issue":{"href":"https://api.github.com/repos/TheKaterTot/cloney_island/issues/102"},"comments":{"href":"https://api.github.com/repos/TheKaterTot/cloney_island/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TheKaterTot/cloney_island/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/TheKaterTot/cloney_island/statuses/a4a3a3c42244d43241f9b94dfdaff282e28e6de8"}}}}
{"actor":{"display_login":"andrewdwooten"}}