{"action":"created","comment":{"url":"https://api.github.com/repos/KWRK/chat-space/pulls/comments/101945326","pull_request_review_id":22685673,"id":101945326,"diff_hunk":"@@ -4,4 +4,4 @@\n       %li.group-name\n         = group.name\n       %li.current-chat\n-        = group.chats.last.body if group.chats.last\n+        = group.chats.last.try!(:body)","path":"app/views/groups/_group.html.haml","position":null,"original_position":5,"commit_id":"52ea0273ed0c549fb89023c1666dd3460a51ad1e","original_commit_id":"6d98cebdb065fc08c0d4b02c0c5047c3e9cebda5","user":{"login":"KWRK","id":25399270,"avatar_url":"https://avatars.githubusercontent.com/u/25399270?v=3","gravatar_id":"","url":"https://api.github.com/users/KWRK","html_url":"https://github.com/KWRK","followers_url":"https://api.github.com/users/KWRK/followers","following_url":"https://api.github.com/users/KWRK/following{/other_user}","gists_url":"https://api.github.com/users/KWRK/gists{/gist_id}","starred_url":"https://api.github.com/users/KWRK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KWRK/subscriptions","organizations_url":"https://api.github.com/users/KWRK/orgs","repos_url":"https://api.github.com/users/KWRK/repos","events_url":"https://api.github.com/users/KWRK/events{/privacy}","received_events_url":"https://api.github.com/users/KWRK/received_events","type":"User","site_admin":false},"body":"なるほど、 nilの場合の表示を追加しました！\r\n\r\n…が、なんかイケてない感じです。tryの意味がなくなっちゃいました…。","created_at":"2017-02-20T04:05:58Z","updated_at":"2017-02-20T04:05:58Z","html_url":"https://github.com/KWRK/chat-space/pull/15#discussion_r101945326","pull_request_url":"https://api.github.com/repos/KWRK/chat-space/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/KWRK/chat-space/pulls/comments/101945326"},"html":{"href":"https://github.com/KWRK/chat-space/pull/15#discussion_r101945326"},"pull_request":{"href":"https://api.github.com/repos/KWRK/chat-space/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/KWRK/chat-space/pulls/15","id":106932966,"html_url":"https://github.com/KWRK/chat-space/pull/15","diff_url":"https://github.com/KWRK/chat-space/pull/15.diff","patch_url":"https://github.com/KWRK/chat-space/pull/15.patch","issue_url":"https://api.github.com/repos/KWRK/chat-space/issues/15","number":15,"state":"open","locked":false,"title":"Unit test(chat controller)","user":{"login":"KWRK","id":25399270,"avatar_url":"https://avatars.githubusercontent.com/u/25399270?v=3","gravatar_id":"","url":"https://api.github.com/users/KWRK","html_url":"https://github.com/KWRK","followers_url":"https://api.github.com/users/KWRK/followers","following_url":"https://api.github.com/users/KWRK/following{/other_user}","gists_url":"https://api.github.com/users/KWRK/gists{/gist_id}","starred_url":"https://api.github.com/users/KWRK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KWRK/subscriptions","organizations_url":"https://api.github.com/users/KWRK/orgs","repos_url":"https://api.github.com/users/KWRK/repos","events_url":"https://api.github.com/users/KWRK/events{/privacy}","received_events_url":"https://api.github.com/users/KWRK/received_events","type":"User","site_admin":false},"body":"# WHAT\r\n* chatコントローラーの単体テストの追加\r\n　・gem（rails_controller-testing)の追加\r\n　・DEPRECATION WARNINGの非表示化\r\n　・Factoryの追加\r\n　・chat_controller_specの作成\r\n\r\n* その他\r\n　・READMEのタイポ修正\r\n　・グループメニューバーのSCSS追加（オンマウス時）\r\n　・グループメニューバーへの最新チャットの表示\r\n　・Groupコントローラーの修正（不要なmethodの削除、リダイレクトの修正）\r\n　・ルートファイルの修正\r\n# WHY\r\n・コントローラーの正確な動作の担保を取るため　\r\n・コンテンツ全体のリファイン\r\n\r\n※テスト結果\r\n<img width=\"490\" alt=\"2017-02-20 11 50 15\" src=\"https://cloud.githubusercontent.com/assets/25399270/23110458/ebfb6b90-f764-11e6-9c79-47cd32861e71.png\">\r\n","created_at":"2017-02-20T03:05:56Z","updated_at":"2017-02-20T04:05:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b32da762e061686d32a439894b4f581e6b4ca69","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/KWRK/chat-space/pulls/15/commits","review_comments_url":"https://api.github.com/repos/KWRK/chat-space/pulls/15/comments","review_comment_url":"https://api.github.com/repos/KWRK/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KWRK/chat-space/issues/15/comments","statuses_url":"https://api.github.com/repos/KWRK/chat-space/statuses/52ea0273ed0c549fb89023c1666dd3460a51ad1e","head":{"label":"KWRK:Unit-Test(chat-controller)","ref":"Unit-Test(chat-controller)","sha":"52ea0273ed0c549fb89023c1666dd3460a51ad1e","user":{"login":"KWRK","id":25399270,"avatar_url":"https://avatars.githubusercontent.com/u/25399270?v=3","gravatar_id":"","url":"https://api.github.com/users/KWRK","html_url":"https://github.com/KWRK","followers_url":"https://api.github.com/users/KWRK/followers","following_url":"https://api.github.com/users/KWRK/following{/other_user}","gists_url":"https://api.github.com/users/KWRK/gists{/gist_id}","starred_url":"https://api.github.com/users/KWRK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KWRK/subscriptions","organizations_url":"https://api.github.com/users/KWRK/orgs","repos_url":"https://api.github.com/users/KWRK/repos","events_url":"https://api.github.com/users/KWRK/events{/privacy}","received_events_url":"https://api.github.com/users/KWRK/received_events","type":"User","site_admin":false},"repo":{"id":80603786,"name":"chat-space","full_name":"KWRK/chat-space","owner":{"login":"KWRK","id":25399270,"avatar_url":"https://avatars.githubusercontent.com/u/25399270?v=3","gravatar_id":"","url":"https://api.github.com/users/KWRK","html_url":"https://github.com/KWRK","followers_url":"https://api.github.com/users/KWRK/followers","following_url":"https://api.github.com/users/KWRK/following{/other_user}","gists_url":"https://api.github.com/users/KWRK/gists{/gist_id}","starred_url":"https://api.github.com/users/KWRK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KWRK/subscriptions","organizations_url":"https://api.github.com/users/KWRK/orgs","repos_url":"https://api.github.com/users/KWRK/repos","events_url":"https://api.github.com/users/KWRK/events{/privacy}","received_events_url":"https://api.github.com/users/KWRK/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KWRK/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/KWRK/chat-space","forks_url":"https://api.github.com/repos/KWRK/chat-space/forks","keys_url":"https://api.github.com/repos/KWRK/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KWRK/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KWRK/chat-space/teams","hooks_url":"https://api.github.com/repos/KWRK/chat-space/hooks","issue_events_url":"https://api.github.com/repos/KWRK/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/KWRK/chat-space/events","assignees_url":"https://api.github.com/repos/KWRK/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/KWRK/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/KWRK/chat-space/tags","blobs_url":"https://api.github.com/repos/KWRK/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KWRK/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KWRK/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/KWRK/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KWRK/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/KWRK/chat-space/languages","stargazers_url":"https://api.github.com/repos/KWRK/chat-space/stargazers","contributors_url":"https://api.github.com/repos/KWRK/chat-space/contributors","subscribers_url":"https://api.github.com/repos/KWRK/chat-space/subscribers","subscription_url":"https://api.github.com/repos/KWRK/chat-space/subscription","commits_url":"https://api.github.com/repos/KWRK/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/KWRK/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/KWRK/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/KWRK/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/KWRK/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/KWRK/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KWRK/chat-space/merges","archive_url":"https://api.github.com/repos/KWRK/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KWRK/chat-space/downloads","issues_url":"https://api.github.com/repos/KWRK/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/KWRK/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/KWRK/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/KWRK/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KWRK/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/KWRK/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/KWRK/chat-space/deployments","created_at":"2017-02-01T09:03:52Z","updated_at":"2017-02-01T09:09:05Z","pushed_at":"2017-02-20T03:37:40Z","git_url":"git://github.com/KWRK/chat-space.git","ssh_url":"git@github.com:KWRK/chat-space.git","clone_url":"https://github.com/KWRK/chat-space.git","svn_url":"https://github.com/KWRK/chat-space","homepage":null,"size":125,"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":"KWRK:master","ref":"master","sha":"21af6acfc74ca1562751356978999be811bd195d","user":{"login":"KWRK","id":25399270,"avatar_url":"https://avatars.githubusercontent.com/u/25399270?v=3","gravatar_id":"","url":"https://api.github.com/users/KWRK","html_url":"https://github.com/KWRK","followers_url":"https://api.github.com/users/KWRK/followers","following_url":"https://api.github.com/users/KWRK/following{/other_user}","gists_url":"https://api.github.com/users/KWRK/gists{/gist_id}","starred_url":"https://api.github.com/users/KWRK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KWRK/subscriptions","organizations_url":"https://api.github.com/users/KWRK/orgs","repos_url":"https://api.github.com/users/KWRK/repos","events_url":"https://api.github.com/users/KWRK/events{/privacy}","received_events_url":"https://api.github.com/users/KWRK/received_events","type":"User","site_admin":false},"repo":{"id":80603786,"name":"chat-space","full_name":"KWRK/chat-space","owner":{"login":"KWRK","id":25399270,"avatar_url":"https://avatars.githubusercontent.com/u/25399270?v=3","gravatar_id":"","url":"https://api.github.com/users/KWRK","html_url":"https://github.com/KWRK","followers_url":"https://api.github.com/users/KWRK/followers","following_url":"https://api.github.com/users/KWRK/following{/other_user}","gists_url":"https://api.github.com/users/KWRK/gists{/gist_id}","starred_url":"https://api.github.com/users/KWRK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KWRK/subscriptions","organizations_url":"https://api.github.com/users/KWRK/orgs","repos_url":"https://api.github.com/users/KWRK/repos","events_url":"https://api.github.com/users/KWRK/events{/privacy}","received_events_url":"https://api.github.com/users/KWRK/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KWRK/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/KWRK/chat-space","forks_url":"https://api.github.com/repos/KWRK/chat-space/forks","keys_url":"https://api.github.com/repos/KWRK/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KWRK/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KWRK/chat-space/teams","hooks_url":"https://api.github.com/repos/KWRK/chat-space/hooks","issue_events_url":"https://api.github.com/repos/KWRK/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/KWRK/chat-space/events","assignees_url":"https://api.github.com/repos/KWRK/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/KWRK/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/KWRK/chat-space/tags","blobs_url":"https://api.github.com/repos/KWRK/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KWRK/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KWRK/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/KWRK/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KWRK/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/KWRK/chat-space/languages","stargazers_url":"https://api.github.com/repos/KWRK/chat-space/stargazers","contributors_url":"https://api.github.com/repos/KWRK/chat-space/contributors","subscribers_url":"https://api.github.com/repos/KWRK/chat-space/subscribers","subscription_url":"https://api.github.com/repos/KWRK/chat-space/subscription","commits_url":"https://api.github.com/repos/KWRK/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/KWRK/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/KWRK/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/KWRK/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/KWRK/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/KWRK/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KWRK/chat-space/merges","archive_url":"https://api.github.com/repos/KWRK/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KWRK/chat-space/downloads","issues_url":"https://api.github.com/repos/KWRK/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/KWRK/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/KWRK/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/KWRK/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KWRK/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/KWRK/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/KWRK/chat-space/deployments","created_at":"2017-02-01T09:03:52Z","updated_at":"2017-02-01T09:09:05Z","pushed_at":"2017-02-20T03:37:40Z","git_url":"git://github.com/KWRK/chat-space.git","ssh_url":"git@github.com:KWRK/chat-space.git","clone_url":"https://github.com/KWRK/chat-space.git","svn_url":"https://github.com/KWRK/chat-space","homepage":null,"size":125,"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/KWRK/chat-space/pulls/15"},"html":{"href":"https://github.com/KWRK/chat-space/pull/15"},"issue":{"href":"https://api.github.com/repos/KWRK/chat-space/issues/15"},"comments":{"href":"https://api.github.com/repos/KWRK/chat-space/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/KWRK/chat-space/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/KWRK/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KWRK/chat-space/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/KWRK/chat-space/statuses/52ea0273ed0c549fb89023c1666dd3460a51ad1e"}}}}
{"actor":{"display_login":"KWRK"}}