{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-exercises/scribble/pulls/comments/58781251","id":58781251,"diff_hunk":"@@ -14,13 +14,13 @@ def show\n   end\n \n   def update\n-    @comment =\n-    @comment =\n+    @comment = Comment.find(params[:id])\n+    @comment.update(comment_params)","path":"app/controllers/comments_controllers.rb","position":null,"original_position":7,"commit_id":"41ebd3d580b640067cbb5801249684186017d882","original_commit_id":"41ebd3d580b640067cbb5801249684186017d882","user":{"login":"mattscilipoti","id":31929,"avatar_url":"https://avatars.githubusercontent.com/u/31929?v=3","gravatar_id":"","url":"https://api.github.com/users/mattscilipoti","html_url":"https://github.com/mattscilipoti","followers_url":"https://api.github.com/users/mattscilipoti/followers","following_url":"https://api.github.com/users/mattscilipoti/following{/other_user}","gists_url":"https://api.github.com/users/mattscilipoti/gists{/gist_id}","starred_url":"https://api.github.com/users/mattscilipoti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattscilipoti/subscriptions","organizations_url":"https://api.github.com/users/mattscilipoti/orgs","repos_url":"https://api.github.com/users/mattscilipoti/repos","events_url":"https://api.github.com/users/mattscilipoti/events{/privacy}","received_events_url":"https://api.github.com/users/mattscilipoti/received_events","type":"User","site_admin":false},"body":"Looking good.  Go find the requested comment.  Then update that comment.  \"comment_params\" should be a method that provides the \"strong params\" for the comment - it manages/identifies what params that can be passed to the `@comment.update` method.  You need to create the \"comment_params\" methods for this controller.","created_at":"2016-04-06T21:02:12Z","updated_at":"2016-04-06T21:02:12Z","html_url":"https://github.com/ga-wdi-exercises/scribble/pull/159#discussion_r58781251","pull_request_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/pulls/159","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-exercises/scribble/pulls/comments/58781251"},"html":{"href":"https://github.com/ga-wdi-exercises/scribble/pull/159#discussion_r58781251"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-exercises/scribble/pulls/159"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-exercises/scribble/pulls/159","id":63317034,"html_url":"https://github.com/ga-wdi-exercises/scribble/pull/159","diff_url":"https://github.com/ga-wdi-exercises/scribble/pull/159.diff","patch_url":"https://github.com/ga-wdi-exercises/scribble/pull/159.patch","issue_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/issues/159","number":159,"state":"open","locked":false,"title":"Lyndsey's Solution","user":{"login":"LNewsome","id":13922405,"avatar_url":"https://avatars.githubusercontent.com/u/13922405?v=3","gravatar_id":"","url":"https://api.github.com/users/LNewsome","html_url":"https://github.com/LNewsome","followers_url":"https://api.github.com/users/LNewsome/followers","following_url":"https://api.github.com/users/LNewsome/following{/other_user}","gists_url":"https://api.github.com/users/LNewsome/gists{/gist_id}","starred_url":"https://api.github.com/users/LNewsome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LNewsome/subscriptions","organizations_url":"https://api.github.com/users/LNewsome/orgs","repos_url":"https://api.github.com/users/LNewsome/repos","events_url":"https://api.github.com/users/LNewsome/events{/privacy}","received_events_url":"https://api.github.com/users/LNewsome/received_events","type":"User","site_admin":false},"body":"Not comfortable.\r\nNot finished.","created_at":"2016-03-18T01:32:01Z","updated_at":"2016-04-06T21:02:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd9ead947e21bcc7bbb045e3fb9a7da0d5178c69","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/pulls/159/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/pulls/159/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/issues/159/comments","statuses_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/statuses/41ebd3d580b640067cbb5801249684186017d882","head":{"label":"LNewsome:master","ref":"master","sha":"41ebd3d580b640067cbb5801249684186017d882","user":{"login":"LNewsome","id":13922405,"avatar_url":"https://avatars.githubusercontent.com/u/13922405?v=3","gravatar_id":"","url":"https://api.github.com/users/LNewsome","html_url":"https://github.com/LNewsome","followers_url":"https://api.github.com/users/LNewsome/followers","following_url":"https://api.github.com/users/LNewsome/following{/other_user}","gists_url":"https://api.github.com/users/LNewsome/gists{/gist_id}","starred_url":"https://api.github.com/users/LNewsome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LNewsome/subscriptions","organizations_url":"https://api.github.com/users/LNewsome/orgs","repos_url":"https://api.github.com/users/LNewsome/repos","events_url":"https://api.github.com/users/LNewsome/events{/privacy}","received_events_url":"https://api.github.com/users/LNewsome/received_events","type":"User","site_admin":false},"repo":{"id":53809543,"name":"scribble","full_name":"LNewsome/scribble","owner":{"login":"LNewsome","id":13922405,"avatar_url":"https://avatars.githubusercontent.com/u/13922405?v=3","gravatar_id":"","url":"https://api.github.com/users/LNewsome","html_url":"https://github.com/LNewsome","followers_url":"https://api.github.com/users/LNewsome/followers","following_url":"https://api.github.com/users/LNewsome/following{/other_user}","gists_url":"https://api.github.com/users/LNewsome/gists{/gist_id}","starred_url":"https://api.github.com/users/LNewsome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LNewsome/subscriptions","organizations_url":"https://api.github.com/users/LNewsome/orgs","repos_url":"https://api.github.com/users/LNewsome/repos","events_url":"https://api.github.com/users/LNewsome/events{/privacy}","received_events_url":"https://api.github.com/users/LNewsome/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LNewsome/scribble","description":"[rails]","fork":true,"url":"https://api.github.com/repos/LNewsome/scribble","forks_url":"https://api.github.com/repos/LNewsome/scribble/forks","keys_url":"https://api.github.com/repos/LNewsome/scribble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LNewsome/scribble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LNewsome/scribble/teams","hooks_url":"https://api.github.com/repos/LNewsome/scribble/hooks","issue_events_url":"https://api.github.com/repos/LNewsome/scribble/issues/events{/number}","events_url":"https://api.github.com/repos/LNewsome/scribble/events","assignees_url":"https://api.github.com/repos/LNewsome/scribble/assignees{/user}","branches_url":"https://api.github.com/repos/LNewsome/scribble/branches{/branch}","tags_url":"https://api.github.com/repos/LNewsome/scribble/tags","blobs_url":"https://api.github.com/repos/LNewsome/scribble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LNewsome/scribble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LNewsome/scribble/git/refs{/sha}","trees_url":"https://api.github.com/repos/LNewsome/scribble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LNewsome/scribble/statuses/{sha}","languages_url":"https://api.github.com/repos/LNewsome/scribble/languages","stargazers_url":"https://api.github.com/repos/LNewsome/scribble/stargazers","contributors_url":"https://api.github.com/repos/LNewsome/scribble/contributors","subscribers_url":"https://api.github.com/repos/LNewsome/scribble/subscribers","subscription_url":"https://api.github.com/repos/LNewsome/scribble/subscription","commits_url":"https://api.github.com/repos/LNewsome/scribble/commits{/sha}","git_commits_url":"https://api.github.com/repos/LNewsome/scribble/git/commits{/sha}","comments_url":"https://api.github.com/repos/LNewsome/scribble/comments{/number}","issue_comment_url":"https://api.github.com/repos/LNewsome/scribble/issues/comments{/number}","contents_url":"https://api.github.com/repos/LNewsome/scribble/contents/{+path}","compare_url":"https://api.github.com/repos/LNewsome/scribble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LNewsome/scribble/merges","archive_url":"https://api.github.com/repos/LNewsome/scribble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LNewsome/scribble/downloads","issues_url":"https://api.github.com/repos/LNewsome/scribble/issues{/number}","pulls_url":"https://api.github.com/repos/LNewsome/scribble/pulls{/number}","milestones_url":"https://api.github.com/repos/LNewsome/scribble/milestones{/number}","notifications_url":"https://api.github.com/repos/LNewsome/scribble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LNewsome/scribble/labels{/name}","releases_url":"https://api.github.com/repos/LNewsome/scribble/releases{/id}","deployments_url":"https://api.github.com/repos/LNewsome/scribble/deployments","created_at":"2016-03-13T21:49:27Z","updated_at":"2016-03-16T14:15:09Z","pushed_at":"2016-03-18T00:31:48Z","git_url":"git://github.com/LNewsome/scribble.git","ssh_url":"git@github.com:LNewsome/scribble.git","clone_url":"https://github.com/LNewsome/scribble.git","svn_url":"https://github.com/LNewsome/scribble","homepage":"https://wdi-scribble.herokuapp.com","size":92,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ga-wdi-exercises:master","ref":"master","sha":"73bfae96c10099c8400906999759942fcfe02195","user":{"login":"ga-wdi-exercises","id":16946328,"avatar_url":"https://avatars.githubusercontent.com/u/16946328?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-exercises","html_url":"https://github.com/ga-wdi-exercises","followers_url":"https://api.github.com/users/ga-wdi-exercises/followers","following_url":"https://api.github.com/users/ga-wdi-exercises/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-exercises/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-exercises/orgs","repos_url":"https://api.github.com/users/ga-wdi-exercises/repos","events_url":"https://api.github.com/users/ga-wdi-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-exercises/received_events","type":"Organization","site_admin":false},"repo":{"id":39733014,"name":"scribble","full_name":"ga-wdi-exercises/scribble","owner":{"login":"ga-wdi-exercises","id":16946328,"avatar_url":"https://avatars.githubusercontent.com/u/16946328?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-exercises","html_url":"https://github.com/ga-wdi-exercises","followers_url":"https://api.github.com/users/ga-wdi-exercises/followers","following_url":"https://api.github.com/users/ga-wdi-exercises/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-exercises/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-exercises/orgs","repos_url":"https://api.github.com/users/ga-wdi-exercises/repos","events_url":"https://api.github.com/users/ga-wdi-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-exercises/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-wdi-exercises/scribble","description":"[rails]","fork":false,"url":"https://api.github.com/repos/ga-wdi-exercises/scribble","forks_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/forks","keys_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/teams","hooks_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/events","assignees_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/tags","blobs_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/subscription","commits_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/merges","archive_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/downloads","issues_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/releases{/id}","deployments_url":"https://api.github.com/repos/ga-wdi-exercises/scribble/deployments","created_at":"2015-07-26T16:46:45Z","updated_at":"2016-02-02T23:47:21Z","pushed_at":"2016-03-23T12:43:10Z","git_url":"git://github.com/ga-wdi-exercises/scribble.git","ssh_url":"git@github.com:ga-wdi-exercises/scribble.git","clone_url":"https://github.com/ga-wdi-exercises/scribble.git","svn_url":"https://github.com/ga-wdi-exercises/scribble","homepage":"https://wdi-scribble.herokuapp.com","size":44170,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":111,"mirror_url":null,"open_issues_count":4,"forks":111,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-exercises/scribble/pulls/159"},"html":{"href":"https://github.com/ga-wdi-exercises/scribble/pull/159"},"issue":{"href":"https://api.github.com/repos/ga-wdi-exercises/scribble/issues/159"},"comments":{"href":"https://api.github.com/repos/ga-wdi-exercises/scribble/issues/159/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-exercises/scribble/pulls/159/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-exercises/scribble/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-exercises/scribble/pulls/159/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-exercises/scribble/statuses/41ebd3d580b640067cbb5801249684186017d882"}}}}