{"action":"created","comment":{"url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls/comments/89930909","pull_request_review_id":10456472,"id":89930909,"diff_hunk":"@@ -7,6 +7,14 @@\n   </span>\n   <span class=\"timestamp\">\n     Posted <%= time_ago_in_words(micropost.created_at) %> ago.\n+    <div class=\"reply-btn\">\n+      <%= link_to \"reply\", show_reply_path(micropost.id) %>\n+    </div>\n+    <%= form_for @micropost, url: create_micropost_path(micropost.id) do |f| %>","path":"app/views/microposts/_micropost.html.erb","position":7,"original_position":7,"commit_id":"60ed29044e18543ef2e470496712f203e58ac1a1","original_commit_id":"ff6d62f6aa9017a75c0a5302a39f15d9b66378c7","user":{"login":"hkengo","id":16299408,"avatar_url":"https://avatars.githubusercontent.com/u/16299408?v=3","gravatar_id":"","url":"https://api.github.com/users/hkengo","html_url":"https://github.com/hkengo","followers_url":"https://api.github.com/users/hkengo/followers","following_url":"https://api.github.com/users/hkengo/following{/other_user}","gists_url":"https://api.github.com/users/hkengo/gists{/gist_id}","starred_url":"https://api.github.com/users/hkengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkengo/subscriptions","organizations_url":"https://api.github.com/users/hkengo/orgs","repos_url":"https://api.github.com/users/hkengo/repos","events_url":"https://api.github.com/users/hkengo/events{/privacy}","received_events_url":"https://api.github.com/users/hkengo/received_events","type":"User","site_admin":false},"body":"UserController#showのページの表示の際にエラーとなります．\r\n共有部分を変更するときは，他の部分でエラーが出ないか確かめましょう．","created_at":"2016-11-29T02:35:25Z","updated_at":"2016-11-29T02:42:26Z","html_url":"https://github.com/yasuno0327/sample_app_3rd_edition/pull/2#discussion_r89930909","pull_request_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls/comments/89930909"},"html":{"href":"https://github.com/yasuno0327/sample_app_3rd_edition/pull/2#discussion_r89930909"},"pull_request":{"href":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls/2","id":95128218,"html_url":"https://github.com/yasuno0327/sample_app_3rd_edition/pull/2","diff_url":"https://github.com/yasuno0327/sample_app_3rd_edition/pull/2.diff","patch_url":"https://github.com/yasuno0327/sample_app_3rd_edition/pull/2.patch","issue_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/issues/2","number":2,"state":"open","locked":false,"title":"Add reply","user":{"login":"yasuno0327","id":17919410,"avatar_url":"https://avatars.githubusercontent.com/u/17919410?v=3","gravatar_id":"","url":"https://api.github.com/users/yasuno0327","html_url":"https://github.com/yasuno0327","followers_url":"https://api.github.com/users/yasuno0327/followers","following_url":"https://api.github.com/users/yasuno0327/following{/other_user}","gists_url":"https://api.github.com/users/yasuno0327/gists{/gist_id}","starred_url":"https://api.github.com/users/yasuno0327/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasuno0327/subscriptions","organizations_url":"https://api.github.com/users/yasuno0327/orgs","repos_url":"https://api.github.com/users/yasuno0327/repos","events_url":"https://api.github.com/users/yasuno0327/events{/privacy}","received_events_url":"https://api.github.com/users/yasuno0327/received_events","type":"User","site_admin":false},"body":"##概要\r\n課題2\r\nsample_app_3rd_editionにリプライ機能を追加しました。\r\n##技術的変更点\r\nmicropostモデルを拡張し、リプライ先のidを保存するためのin_reply_toカラムを追加しました。\r\nコントローラーでin_reply_toカラムを検索し別ページでリプライを表示しています。\r\n##デザイン変更点\r\nhomeページのfeed表示欄にformを追加しました。\r\nここからリプライができます。\r\n##テスト結果とテスト項目\r\n\r\nリプライの保存の確認\r\nリプライページの表示の確認\r\n\r\n編集前のアプリのスクリーンショット\r\n![image](https://cloud.githubusercontent.com/assets/17919410/20589817/383e929a-b262-11e6-822f-ff1721c0c4b4.png)\r\n\r\n\r\n完成後のアプリのスクリーンショット\r\nホーム\r\n![image](https://cloud.githubusercontent.com/assets/17919410/20589823/404ad598-b262-11e6-83e1-a1163ab091d0.png)\r\n\r\nリプライクリック後\r\n![image](https://cloud.githubusercontent.com/assets/17919410/20589830/4eda9f12-b262-11e6-8f9b-d2955c775962.png)\r\n","created_at":"2016-11-24T07:23:45Z","updated_at":"2016-11-29T02:42:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac3cd75dd4ad804284ce7c19f766bb1e070f724b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls/2/commits","review_comments_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls/2/comments","review_comment_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/issues/2/comments","statuses_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/statuses/60ed29044e18543ef2e470496712f203e58ac1a1","head":{"label":"yasuno0327:AddReply","ref":"AddReply","sha":"60ed29044e18543ef2e470496712f203e58ac1a1","user":{"login":"yasuno0327","id":17919410,"avatar_url":"https://avatars.githubusercontent.com/u/17919410?v=3","gravatar_id":"","url":"https://api.github.com/users/yasuno0327","html_url":"https://github.com/yasuno0327","followers_url":"https://api.github.com/users/yasuno0327/followers","following_url":"https://api.github.com/users/yasuno0327/following{/other_user}","gists_url":"https://api.github.com/users/yasuno0327/gists{/gist_id}","starred_url":"https://api.github.com/users/yasuno0327/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasuno0327/subscriptions","organizations_url":"https://api.github.com/users/yasuno0327/orgs","repos_url":"https://api.github.com/users/yasuno0327/repos","events_url":"https://api.github.com/users/yasuno0327/events{/privacy}","received_events_url":"https://api.github.com/users/yasuno0327/received_events","type":"User","site_admin":false},"repo":{"id":74424857,"name":"sample_app_3rd_edition","full_name":"yasuno0327/sample_app_3rd_edition","owner":{"login":"yasuno0327","id":17919410,"avatar_url":"https://avatars.githubusercontent.com/u/17919410?v=3","gravatar_id":"","url":"https://api.github.com/users/yasuno0327","html_url":"https://github.com/yasuno0327","followers_url":"https://api.github.com/users/yasuno0327/followers","following_url":"https://api.github.com/users/yasuno0327/following{/other_user}","gists_url":"https://api.github.com/users/yasuno0327/gists{/gist_id}","starred_url":"https://api.github.com/users/yasuno0327/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasuno0327/subscriptions","organizations_url":"https://api.github.com/users/yasuno0327/orgs","repos_url":"https://api.github.com/users/yasuno0327/repos","events_url":"https://api.github.com/users/yasuno0327/events{/privacy}","received_events_url":"https://api.github.com/users/yasuno0327/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yasuno0327/sample_app_3rd_edition","description":"The sample app for the 3rd edition of the Ruby on Rails Tutorial","fork":true,"url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition","forks_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/forks","keys_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/teams","hooks_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/hooks","issue_events_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/issues/events{/number}","events_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/events","assignees_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/assignees{/user}","branches_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/branches{/branch}","tags_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/tags","blobs_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/git/refs{/sha}","trees_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/statuses/{sha}","languages_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/languages","stargazers_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/stargazers","contributors_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/contributors","subscribers_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/subscribers","subscription_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/subscription","commits_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/commits{/sha}","git_commits_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/git/commits{/sha}","comments_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/comments{/number}","issue_comment_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/issues/comments{/number}","contents_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/contents/{+path}","compare_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/merges","archive_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/downloads","issues_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/issues{/number}","pulls_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls{/number}","milestones_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/milestones{/number}","notifications_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/labels{/name}","releases_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/releases{/id}","deployments_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/deployments","created_at":"2016-11-22T02:12:28Z","updated_at":"2016-11-22T02:12:29Z","pushed_at":"2016-11-29T02:42:17Z","git_url":"git://github.com/yasuno0327/sample_app_3rd_edition.git","ssh_url":"git@github.com:yasuno0327/sample_app_3rd_edition.git","clone_url":"https://github.com/yasuno0327/sample_app_3rd_edition.git","svn_url":"https://github.com/yasuno0327/sample_app_3rd_edition","homepage":null,"size":2381,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"yasuno0327:master","ref":"master","sha":"9a60743c4e11fcafcb08562292b42bfb853e2f41","user":{"login":"yasuno0327","id":17919410,"avatar_url":"https://avatars.githubusercontent.com/u/17919410?v=3","gravatar_id":"","url":"https://api.github.com/users/yasuno0327","html_url":"https://github.com/yasuno0327","followers_url":"https://api.github.com/users/yasuno0327/followers","following_url":"https://api.github.com/users/yasuno0327/following{/other_user}","gists_url":"https://api.github.com/users/yasuno0327/gists{/gist_id}","starred_url":"https://api.github.com/users/yasuno0327/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasuno0327/subscriptions","organizations_url":"https://api.github.com/users/yasuno0327/orgs","repos_url":"https://api.github.com/users/yasuno0327/repos","events_url":"https://api.github.com/users/yasuno0327/events{/privacy}","received_events_url":"https://api.github.com/users/yasuno0327/received_events","type":"User","site_admin":false},"repo":{"id":74424857,"name":"sample_app_3rd_edition","full_name":"yasuno0327/sample_app_3rd_edition","owner":{"login":"yasuno0327","id":17919410,"avatar_url":"https://avatars.githubusercontent.com/u/17919410?v=3","gravatar_id":"","url":"https://api.github.com/users/yasuno0327","html_url":"https://github.com/yasuno0327","followers_url":"https://api.github.com/users/yasuno0327/followers","following_url":"https://api.github.com/users/yasuno0327/following{/other_user}","gists_url":"https://api.github.com/users/yasuno0327/gists{/gist_id}","starred_url":"https://api.github.com/users/yasuno0327/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasuno0327/subscriptions","organizations_url":"https://api.github.com/users/yasuno0327/orgs","repos_url":"https://api.github.com/users/yasuno0327/repos","events_url":"https://api.github.com/users/yasuno0327/events{/privacy}","received_events_url":"https://api.github.com/users/yasuno0327/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yasuno0327/sample_app_3rd_edition","description":"The sample app for the 3rd edition of the Ruby on Rails Tutorial","fork":true,"url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition","forks_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/forks","keys_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/teams","hooks_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/hooks","issue_events_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/issues/events{/number}","events_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/events","assignees_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/assignees{/user}","branches_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/branches{/branch}","tags_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/tags","blobs_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/git/refs{/sha}","trees_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/statuses/{sha}","languages_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/languages","stargazers_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/stargazers","contributors_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/contributors","subscribers_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/subscribers","subscription_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/subscription","commits_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/commits{/sha}","git_commits_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/git/commits{/sha}","comments_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/comments{/number}","issue_comment_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/issues/comments{/number}","contents_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/contents/{+path}","compare_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/merges","archive_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/downloads","issues_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/issues{/number}","pulls_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls{/number}","milestones_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/milestones{/number}","notifications_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/labels{/name}","releases_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/releases{/id}","deployments_url":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/deployments","created_at":"2016-11-22T02:12:28Z","updated_at":"2016-11-22T02:12:29Z","pushed_at":"2016-11-29T02:42:17Z","git_url":"git://github.com/yasuno0327/sample_app_3rd_edition.git","ssh_url":"git@github.com:yasuno0327/sample_app_3rd_edition.git","clone_url":"https://github.com/yasuno0327/sample_app_3rd_edition.git","svn_url":"https://github.com/yasuno0327/sample_app_3rd_edition","homepage":null,"size":2381,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls/2"},"html":{"href":"https://github.com/yasuno0327/sample_app_3rd_edition/pull/2"},"issue":{"href":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/issues/2"},"comments":{"href":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/yasuno0327/sample_app_3rd_edition/statuses/60ed29044e18543ef2e470496712f203e58ac1a1"}}}}
{"actor":{"display_login":"hkengo"}}