{"action":"created","comment":{"url":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls/comments/169538662","pull_request_review_id":98079419,"id":169538662,"diff_hunk":"@@ -0,0 +1,23 @@\n+.leftcontent\n+\t.leftcontent--header\n+\t\t%p.leftcontent--header-user-name\n+\t\t\t= current_user.name\n+\t\t%div.leftcontent--header-right-box\n+\t\t\t.btn-group1\n+\t\t\t\t= link_to new_group_path do\n+\t\t\t\t\t.fa.fa-pencil-square-o{\"aria-hidden\": true}\n+\t\t\t.btn-group2\n+\t\t\t\t= link_to edit_user_registration_path(current_user.groups) do\n+\t\t\t\t\t.fa.fa-cog{\"aria-hidden\": true}\n+\t.leftcontent--bottom\n+\t\t- @groups.each do |group|\n+\t\t\t%ul.group--name--box\n+\t\t\t\t= link_to group.name ,group_messages_path(group), style: \"color:white;\"\n+\t\t\t.leftcontent--bottom-group-talk\n+\t\t\t- if group.messages.present?\n+\t\t\t\t- if (group.messages.last.image?)","path":"app/views/messages/_sidebar.html.haml","position":18,"original_position":18,"commit_id":"61af9cb63f6e11bfb7427940df0f43682c741304","original_commit_id":"61af9cb63f6e11bfb7427940df0f43682c741304","user":{"login":"fumihumi","id":20330326,"avatar_url":"https://avatars3.githubusercontent.com/u/20330326?v=4","gravatar_id":"","url":"https://api.github.com/users/fumihumi","html_url":"https://github.com/fumihumi","followers_url":"https://api.github.com/users/fumihumi/followers","following_url":"https://api.github.com/users/fumihumi/following{/other_user}","gists_url":"https://api.github.com/users/fumihumi/gists{/gist_id}","starred_url":"https://api.github.com/users/fumihumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fumihumi/subscriptions","organizations_url":"https://api.github.com/users/fumihumi/orgs","repos_url":"https://api.github.com/users/fumihumi/repos","events_url":"https://api.github.com/users/fumihumi/events{/privacy}","received_events_url":"https://api.github.com/users/fumihumi/received_events","type":"User","site_admin":false},"body":"17,18行目において、この部分でif構文を２つ使わずに `and条件`なども利用して if構文を一つにまとめてみましょう！\r\nそっちの方がスッキリすると思います！\r\n17 ~ 23行目あたりをもう少し直してみてください！","created_at":"2018-02-21T05:34:04Z","updated_at":"2018-02-21T05:35:07Z","html_url":"https://github.com/Hiro3nori3/chat-space/pull/15#discussion_r169538662","pull_request_url":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls/15","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls/comments/169538662"},"html":{"href":"https://github.com/Hiro3nori3/chat-space/pull/15#discussion_r169538662"},"pull_request":{"href":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls/15","id":151602379,"html_url":"https://github.com/Hiro3nori3/chat-space/pull/15","diff_url":"https://github.com/Hiro3nori3/chat-space/pull/15.diff","patch_url":"https://github.com/Hiro3nori3/chat-space/pull/15.patch","issue_url":"https://api.github.com/repos/Hiro3nori3/chat-space/issues/15","number":15,"state":"open","locked":false,"title":"メッセージ送信の非同期通信機能","user":{"login":"Hiro3nori3","id":22796597,"avatar_url":"https://avatars0.githubusercontent.com/u/22796597?v=4","gravatar_id":"","url":"https://api.github.com/users/Hiro3nori3","html_url":"https://github.com/Hiro3nori3","followers_url":"https://api.github.com/users/Hiro3nori3/followers","following_url":"https://api.github.com/users/Hiro3nori3/following{/other_user}","gists_url":"https://api.github.com/users/Hiro3nori3/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiro3nori3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiro3nori3/subscriptions","organizations_url":"https://api.github.com/users/Hiro3nori3/orgs","repos_url":"https://api.github.com/users/Hiro3nori3/repos","events_url":"https://api.github.com/users/Hiro3nori3/events{/privacy}","received_events_url":"https://api.github.com/users/Hiro3nori3/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-09T09:43:02Z","updated_at":"2018-02-21T05:35:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae83108a66f82dd8d88d73d151405751ba74eb63","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hiro3nori3/chat-space/issues/15/comments","statuses_url":"https://api.github.com/repos/Hiro3nori3/chat-space/statuses/61af9cb63f6e11bfb7427940df0f43682c741304","head":{"label":"Hiro3nori3:asynchronous-message-function","ref":"asynchronous-message-function","sha":"61af9cb63f6e11bfb7427940df0f43682c741304","user":{"login":"Hiro3nori3","id":22796597,"avatar_url":"https://avatars0.githubusercontent.com/u/22796597?v=4","gravatar_id":"","url":"https://api.github.com/users/Hiro3nori3","html_url":"https://github.com/Hiro3nori3","followers_url":"https://api.github.com/users/Hiro3nori3/followers","following_url":"https://api.github.com/users/Hiro3nori3/following{/other_user}","gists_url":"https://api.github.com/users/Hiro3nori3/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiro3nori3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiro3nori3/subscriptions","organizations_url":"https://api.github.com/users/Hiro3nori3/orgs","repos_url":"https://api.github.com/users/Hiro3nori3/repos","events_url":"https://api.github.com/users/Hiro3nori3/events{/privacy}","received_events_url":"https://api.github.com/users/Hiro3nori3/received_events","type":"User","site_admin":false},"repo":{"id":80598983,"name":"chat-space","full_name":"Hiro3nori3/chat-space","owner":{"login":"Hiro3nori3","id":22796597,"avatar_url":"https://avatars0.githubusercontent.com/u/22796597?v=4","gravatar_id":"","url":"https://api.github.com/users/Hiro3nori3","html_url":"https://github.com/Hiro3nori3","followers_url":"https://api.github.com/users/Hiro3nori3/followers","following_url":"https://api.github.com/users/Hiro3nori3/following{/other_user}","gists_url":"https://api.github.com/users/Hiro3nori3/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiro3nori3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiro3nori3/subscriptions","organizations_url":"https://api.github.com/users/Hiro3nori3/orgs","repos_url":"https://api.github.com/users/Hiro3nori3/repos","events_url":"https://api.github.com/users/Hiro3nori3/events{/privacy}","received_events_url":"https://api.github.com/users/Hiro3nori3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hiro3nori3/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/Hiro3nori3/chat-space","forks_url":"https://api.github.com/repos/Hiro3nori3/chat-space/forks","keys_url":"https://api.github.com/repos/Hiro3nori3/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hiro3nori3/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hiro3nori3/chat-space/teams","hooks_url":"https://api.github.com/repos/Hiro3nori3/chat-space/hooks","issue_events_url":"https://api.github.com/repos/Hiro3nori3/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/Hiro3nori3/chat-space/events","assignees_url":"https://api.github.com/repos/Hiro3nori3/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/Hiro3nori3/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/Hiro3nori3/chat-space/tags","blobs_url":"https://api.github.com/repos/Hiro3nori3/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hiro3nori3/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hiro3nori3/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hiro3nori3/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hiro3nori3/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/Hiro3nori3/chat-space/languages","stargazers_url":"https://api.github.com/repos/Hiro3nori3/chat-space/stargazers","contributors_url":"https://api.github.com/repos/Hiro3nori3/chat-space/contributors","subscribers_url":"https://api.github.com/repos/Hiro3nori3/chat-space/subscribers","subscription_url":"https://api.github.com/repos/Hiro3nori3/chat-space/subscription","commits_url":"https://api.github.com/repos/Hiro3nori3/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hiro3nori3/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hiro3nori3/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hiro3nori3/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hiro3nori3/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/Hiro3nori3/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hiro3nori3/chat-space/merges","archive_url":"https://api.github.com/repos/Hiro3nori3/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hiro3nori3/chat-space/downloads","issues_url":"https://api.github.com/repos/Hiro3nori3/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/Hiro3nori3/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/Hiro3nori3/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hiro3nori3/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/Hiro3nori3/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/Hiro3nori3/chat-space/deployments","created_at":"2017-02-01T07:40:45Z","updated_at":"2017-02-01T07:40:52Z","pushed_at":"2018-02-21T05:31:39Z","git_url":"git://github.com/Hiro3nori3/chat-space.git","ssh_url":"git@github.com:Hiro3nori3/chat-space.git","clone_url":"https://github.com/Hiro3nori3/chat-space.git","svn_url":"https://github.com/Hiro3nori3/chat-space","homepage":null,"size":121,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Hiro3nori3:message-function","ref":"message-function","sha":"435db00cc18b6659d9dea25fe756cb2e6eef96fd","user":{"login":"Hiro3nori3","id":22796597,"avatar_url":"https://avatars0.githubusercontent.com/u/22796597?v=4","gravatar_id":"","url":"https://api.github.com/users/Hiro3nori3","html_url":"https://github.com/Hiro3nori3","followers_url":"https://api.github.com/users/Hiro3nori3/followers","following_url":"https://api.github.com/users/Hiro3nori3/following{/other_user}","gists_url":"https://api.github.com/users/Hiro3nori3/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiro3nori3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiro3nori3/subscriptions","organizations_url":"https://api.github.com/users/Hiro3nori3/orgs","repos_url":"https://api.github.com/users/Hiro3nori3/repos","events_url":"https://api.github.com/users/Hiro3nori3/events{/privacy}","received_events_url":"https://api.github.com/users/Hiro3nori3/received_events","type":"User","site_admin":false},"repo":{"id":80598983,"name":"chat-space","full_name":"Hiro3nori3/chat-space","owner":{"login":"Hiro3nori3","id":22796597,"avatar_url":"https://avatars0.githubusercontent.com/u/22796597?v=4","gravatar_id":"","url":"https://api.github.com/users/Hiro3nori3","html_url":"https://github.com/Hiro3nori3","followers_url":"https://api.github.com/users/Hiro3nori3/followers","following_url":"https://api.github.com/users/Hiro3nori3/following{/other_user}","gists_url":"https://api.github.com/users/Hiro3nori3/gists{/gist_id}","starred_url":"https://api.github.com/users/Hiro3nori3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hiro3nori3/subscriptions","organizations_url":"https://api.github.com/users/Hiro3nori3/orgs","repos_url":"https://api.github.com/users/Hiro3nori3/repos","events_url":"https://api.github.com/users/Hiro3nori3/events{/privacy}","received_events_url":"https://api.github.com/users/Hiro3nori3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hiro3nori3/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/Hiro3nori3/chat-space","forks_url":"https://api.github.com/repos/Hiro3nori3/chat-space/forks","keys_url":"https://api.github.com/repos/Hiro3nori3/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hiro3nori3/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hiro3nori3/chat-space/teams","hooks_url":"https://api.github.com/repos/Hiro3nori3/chat-space/hooks","issue_events_url":"https://api.github.com/repos/Hiro3nori3/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/Hiro3nori3/chat-space/events","assignees_url":"https://api.github.com/repos/Hiro3nori3/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/Hiro3nori3/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/Hiro3nori3/chat-space/tags","blobs_url":"https://api.github.com/repos/Hiro3nori3/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hiro3nori3/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hiro3nori3/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hiro3nori3/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hiro3nori3/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/Hiro3nori3/chat-space/languages","stargazers_url":"https://api.github.com/repos/Hiro3nori3/chat-space/stargazers","contributors_url":"https://api.github.com/repos/Hiro3nori3/chat-space/contributors","subscribers_url":"https://api.github.com/repos/Hiro3nori3/chat-space/subscribers","subscription_url":"https://api.github.com/repos/Hiro3nori3/chat-space/subscription","commits_url":"https://api.github.com/repos/Hiro3nori3/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hiro3nori3/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hiro3nori3/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hiro3nori3/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hiro3nori3/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/Hiro3nori3/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hiro3nori3/chat-space/merges","archive_url":"https://api.github.com/repos/Hiro3nori3/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hiro3nori3/chat-space/downloads","issues_url":"https://api.github.com/repos/Hiro3nori3/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/Hiro3nori3/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/Hiro3nori3/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hiro3nori3/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/Hiro3nori3/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/Hiro3nori3/chat-space/deployments","created_at":"2017-02-01T07:40:45Z","updated_at":"2017-02-01T07:40:52Z","pushed_at":"2018-02-21T05:31:39Z","git_url":"git://github.com/Hiro3nori3/chat-space.git","ssh_url":"git@github.com:Hiro3nori3/chat-space.git","clone_url":"https://github.com/Hiro3nori3/chat-space.git","svn_url":"https://github.com/Hiro3nori3/chat-space","homepage":null,"size":121,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls/15"},"html":{"href":"https://github.com/Hiro3nori3/chat-space/pull/15"},"issue":{"href":"https://api.github.com/repos/Hiro3nori3/chat-space/issues/15"},"comments":{"href":"https://api.github.com/repos/Hiro3nori3/chat-space/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hiro3nori3/chat-space/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Hiro3nori3/chat-space/statuses/61af9cb63f6e11bfb7427940df0f43682c741304"}},"author_association":"OWNER"}}
{"actor":{"display_login":"fumihumi"}}