{"action":"created","comment":{"url":"https://api.github.com/repos/cyder/SyncPod-server/pulls/comments/187831165","pull_request_review_id":119687263,"id":187831165,"diff_hunk":"@@ -12,6 +12,7 @@ def index\n \n   def create\n     @room = Room.new room_params\n+    @room.create_user = current_user","path":"app/controllers/api/v1/rooms_controller.rb","position":4,"original_position":4,"commit_id":"513030601b17a513d9417969079ec6cbd777aed1","original_commit_id":"513030601b17a513d9417969079ec6cbd777aed1","user":{"login":"euglena1215","id":13253769,"avatar_url":"https://avatars1.githubusercontent.com/u/13253769?v=4","gravatar_id":"","url":"https://api.github.com/users/euglena1215","html_url":"https://github.com/euglena1215","followers_url":"https://api.github.com/users/euglena1215/followers","following_url":"https://api.github.com/users/euglena1215/following{/other_user}","gists_url":"https://api.github.com/users/euglena1215/gists{/gist_id}","starred_url":"https://api.github.com/users/euglena1215/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euglena1215/subscriptions","organizations_url":"https://api.github.com/users/euglena1215/orgs","repos_url":"https://api.github.com/users/euglena1215/repos","events_url":"https://api.github.com/users/euglena1215/events{/privacy}","received_events_url":"https://api.github.com/users/euglena1215/received_events","type":"User","site_admin":false},"body":"`current_user`が定義されていない(=ログイン処理がされていない)状態でここが叩かれることはないんだっけ、","created_at":"2018-05-14T03:49:38Z","updated_at":"2018-05-14T03:49:43Z","html_url":"https://github.com/cyder/SyncPod-server/pull/75#discussion_r187831165","pull_request_url":"https://api.github.com/repos/cyder/SyncPod-server/pulls/75","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/cyder/SyncPod-server/pulls/comments/187831165"},"html":{"href":"https://github.com/cyder/SyncPod-server/pull/75#discussion_r187831165"},"pull_request":{"href":"https://api.github.com/repos/cyder/SyncPod-server/pulls/75"}}},"pull_request":{"url":"https://api.github.com/repos/cyder/SyncPod-server/pulls/75","id":187700102,"html_url":"https://github.com/cyder/SyncPod-server/pull/75","diff_url":"https://github.com/cyder/SyncPod-server/pull/75.diff","patch_url":"https://github.com/cyder/SyncPod-server/pull/75.patch","issue_url":"https://api.github.com/repos/cyder/SyncPod-server/issues/75","number":75,"state":"open","locked":false,"title":"ルーム作成ユーザを記録するようにする","user":{"login":"Mori-Atsushi","id":13435109,"avatar_url":"https://avatars0.githubusercontent.com/u/13435109?v=4","gravatar_id":"","url":"https://api.github.com/users/Mori-Atsushi","html_url":"https://github.com/Mori-Atsushi","followers_url":"https://api.github.com/users/Mori-Atsushi/followers","following_url":"https://api.github.com/users/Mori-Atsushi/following{/other_user}","gists_url":"https://api.github.com/users/Mori-Atsushi/gists{/gist_id}","starred_url":"https://api.github.com/users/Mori-Atsushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mori-Atsushi/subscriptions","organizations_url":"https://api.github.com/users/Mori-Atsushi/orgs","repos_url":"https://api.github.com/users/Mori-Atsushi/repos","events_url":"https://api.github.com/users/Mori-Atsushi/events{/privacy}","received_events_url":"https://api.github.com/users/Mori-Atsushi/received_events","type":"User","site_admin":false},"body":"close #74 \r\n\r\n逆に今までなぜやってなかったのか","created_at":"2018-05-14T00:55:04Z","updated_at":"2018-05-14T03:49:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f50c33d6ecec550da4ef5086e86f69993fb7284c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":740445441,"url":"https://api.github.com/repos/cyder/SyncPod-server/labels/wait%20for%20review","name":"wait for review","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/cyder/SyncPod-server/pulls/75/commits","review_comments_url":"https://api.github.com/repos/cyder/SyncPod-server/pulls/75/comments","review_comment_url":"https://api.github.com/repos/cyder/SyncPod-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cyder/SyncPod-server/issues/75/comments","statuses_url":"https://api.github.com/repos/cyder/SyncPod-server/statuses/513030601b17a513d9417969079ec6cbd777aed1","head":{"label":"cyder:74-create-room-user","ref":"74-create-room-user","sha":"513030601b17a513d9417969079ec6cbd777aed1","user":{"login":"cyder","id":25344502,"avatar_url":"https://avatars3.githubusercontent.com/u/25344502?v=4","gravatar_id":"","url":"https://api.github.com/users/cyder","html_url":"https://github.com/cyder","followers_url":"https://api.github.com/users/cyder/followers","following_url":"https://api.github.com/users/cyder/following{/other_user}","gists_url":"https://api.github.com/users/cyder/gists{/gist_id}","starred_url":"https://api.github.com/users/cyder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyder/subscriptions","organizations_url":"https://api.github.com/users/cyder/orgs","repos_url":"https://api.github.com/users/cyder/repos","events_url":"https://api.github.com/users/cyder/events{/privacy}","received_events_url":"https://api.github.com/users/cyder/received_events","type":"Organization","site_admin":false},"repo":{"id":105680869,"name":"SyncPod-server","full_name":"cyder/SyncPod-server","owner":{"login":"cyder","id":25344502,"avatar_url":"https://avatars3.githubusercontent.com/u/25344502?v=4","gravatar_id":"","url":"https://api.github.com/users/cyder","html_url":"https://github.com/cyder","followers_url":"https://api.github.com/users/cyder/followers","following_url":"https://api.github.com/users/cyder/following{/other_user}","gists_url":"https://api.github.com/users/cyder/gists{/gist_id}","starred_url":"https://api.github.com/users/cyder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyder/subscriptions","organizations_url":"https://api.github.com/users/cyder/orgs","repos_url":"https://api.github.com/users/cyder/repos","events_url":"https://api.github.com/users/cyder/events{/privacy}","received_events_url":"https://api.github.com/users/cyder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cyder/SyncPod-server","description":null,"fork":false,"url":"https://api.github.com/repos/cyder/SyncPod-server","forks_url":"https://api.github.com/repos/cyder/SyncPod-server/forks","keys_url":"https://api.github.com/repos/cyder/SyncPod-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cyder/SyncPod-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cyder/SyncPod-server/teams","hooks_url":"https://api.github.com/repos/cyder/SyncPod-server/hooks","issue_events_url":"https://api.github.com/repos/cyder/SyncPod-server/issues/events{/number}","events_url":"https://api.github.com/repos/cyder/SyncPod-server/events","assignees_url":"https://api.github.com/repos/cyder/SyncPod-server/assignees{/user}","branches_url":"https://api.github.com/repos/cyder/SyncPod-server/branches{/branch}","tags_url":"https://api.github.com/repos/cyder/SyncPod-server/tags","blobs_url":"https://api.github.com/repos/cyder/SyncPod-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cyder/SyncPod-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cyder/SyncPod-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/cyder/SyncPod-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cyder/SyncPod-server/statuses/{sha}","languages_url":"https://api.github.com/repos/cyder/SyncPod-server/languages","stargazers_url":"https://api.github.com/repos/cyder/SyncPod-server/stargazers","contributors_url":"https://api.github.com/repos/cyder/SyncPod-server/contributors","subscribers_url":"https://api.github.com/repos/cyder/SyncPod-server/subscribers","subscription_url":"https://api.github.com/repos/cyder/SyncPod-server/subscription","commits_url":"https://api.github.com/repos/cyder/SyncPod-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/cyder/SyncPod-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/cyder/SyncPod-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/cyder/SyncPod-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/cyder/SyncPod-server/contents/{+path}","compare_url":"https://api.github.com/repos/cyder/SyncPod-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cyder/SyncPod-server/merges","archive_url":"https://api.github.com/repos/cyder/SyncPod-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cyder/SyncPod-server/downloads","issues_url":"https://api.github.com/repos/cyder/SyncPod-server/issues{/number}","pulls_url":"https://api.github.com/repos/cyder/SyncPod-server/pulls{/number}","milestones_url":"https://api.github.com/repos/cyder/SyncPod-server/milestones{/number}","notifications_url":"https://api.github.com/repos/cyder/SyncPod-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cyder/SyncPod-server/labels{/name}","releases_url":"https://api.github.com/repos/cyder/SyncPod-server/releases{/id}","deployments_url":"https://api.github.com/repos/cyder/SyncPod-server/deployments","created_at":"2017-10-03T17:23:30Z","updated_at":"2018-05-06T23:49:59Z","pushed_at":"2018-05-14T00:55:05Z","git_url":"git://github.com/cyder/SyncPod-server.git","ssh_url":"git@github.com:cyder/SyncPod-server.git","clone_url":"https://github.com/cyder/SyncPod-server.git","svn_url":"https://github.com/cyder/SyncPod-server","homepage":null,"size":370,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":2,"open_issues":7,"watchers":1,"default_branch":"development"}},"base":{"label":"cyder:development","ref":"development","sha":"61a20422b45ddc3c9eab2a02d03a8d74896f172e","user":{"login":"cyder","id":25344502,"avatar_url":"https://avatars3.githubusercontent.com/u/25344502?v=4","gravatar_id":"","url":"https://api.github.com/users/cyder","html_url":"https://github.com/cyder","followers_url":"https://api.github.com/users/cyder/followers","following_url":"https://api.github.com/users/cyder/following{/other_user}","gists_url":"https://api.github.com/users/cyder/gists{/gist_id}","starred_url":"https://api.github.com/users/cyder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyder/subscriptions","organizations_url":"https://api.github.com/users/cyder/orgs","repos_url":"https://api.github.com/users/cyder/repos","events_url":"https://api.github.com/users/cyder/events{/privacy}","received_events_url":"https://api.github.com/users/cyder/received_events","type":"Organization","site_admin":false},"repo":{"id":105680869,"name":"SyncPod-server","full_name":"cyder/SyncPod-server","owner":{"login":"cyder","id":25344502,"avatar_url":"https://avatars3.githubusercontent.com/u/25344502?v=4","gravatar_id":"","url":"https://api.github.com/users/cyder","html_url":"https://github.com/cyder","followers_url":"https://api.github.com/users/cyder/followers","following_url":"https://api.github.com/users/cyder/following{/other_user}","gists_url":"https://api.github.com/users/cyder/gists{/gist_id}","starred_url":"https://api.github.com/users/cyder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyder/subscriptions","organizations_url":"https://api.github.com/users/cyder/orgs","repos_url":"https://api.github.com/users/cyder/repos","events_url":"https://api.github.com/users/cyder/events{/privacy}","received_events_url":"https://api.github.com/users/cyder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cyder/SyncPod-server","description":null,"fork":false,"url":"https://api.github.com/repos/cyder/SyncPod-server","forks_url":"https://api.github.com/repos/cyder/SyncPod-server/forks","keys_url":"https://api.github.com/repos/cyder/SyncPod-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cyder/SyncPod-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cyder/SyncPod-server/teams","hooks_url":"https://api.github.com/repos/cyder/SyncPod-server/hooks","issue_events_url":"https://api.github.com/repos/cyder/SyncPod-server/issues/events{/number}","events_url":"https://api.github.com/repos/cyder/SyncPod-server/events","assignees_url":"https://api.github.com/repos/cyder/SyncPod-server/assignees{/user}","branches_url":"https://api.github.com/repos/cyder/SyncPod-server/branches{/branch}","tags_url":"https://api.github.com/repos/cyder/SyncPod-server/tags","blobs_url":"https://api.github.com/repos/cyder/SyncPod-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cyder/SyncPod-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cyder/SyncPod-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/cyder/SyncPod-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cyder/SyncPod-server/statuses/{sha}","languages_url":"https://api.github.com/repos/cyder/SyncPod-server/languages","stargazers_url":"https://api.github.com/repos/cyder/SyncPod-server/stargazers","contributors_url":"https://api.github.com/repos/cyder/SyncPod-server/contributors","subscribers_url":"https://api.github.com/repos/cyder/SyncPod-server/subscribers","subscription_url":"https://api.github.com/repos/cyder/SyncPod-server/subscription","commits_url":"https://api.github.com/repos/cyder/SyncPod-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/cyder/SyncPod-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/cyder/SyncPod-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/cyder/SyncPod-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/cyder/SyncPod-server/contents/{+path}","compare_url":"https://api.github.com/repos/cyder/SyncPod-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cyder/SyncPod-server/merges","archive_url":"https://api.github.com/repos/cyder/SyncPod-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cyder/SyncPod-server/downloads","issues_url":"https://api.github.com/repos/cyder/SyncPod-server/issues{/number}","pulls_url":"https://api.github.com/repos/cyder/SyncPod-server/pulls{/number}","milestones_url":"https://api.github.com/repos/cyder/SyncPod-server/milestones{/number}","notifications_url":"https://api.github.com/repos/cyder/SyncPod-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cyder/SyncPod-server/labels{/name}","releases_url":"https://api.github.com/repos/cyder/SyncPod-server/releases{/id}","deployments_url":"https://api.github.com/repos/cyder/SyncPod-server/deployments","created_at":"2017-10-03T17:23:30Z","updated_at":"2018-05-06T23:49:59Z","pushed_at":"2018-05-14T00:55:05Z","git_url":"git://github.com/cyder/SyncPod-server.git","ssh_url":"git@github.com:cyder/SyncPod-server.git","clone_url":"https://github.com/cyder/SyncPod-server.git","svn_url":"https://github.com/cyder/SyncPod-server","homepage":null,"size":370,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":2,"open_issues":7,"watchers":1,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/cyder/SyncPod-server/pulls/75"},"html":{"href":"https://github.com/cyder/SyncPod-server/pull/75"},"issue":{"href":"https://api.github.com/repos/cyder/SyncPod-server/issues/75"},"comments":{"href":"https://api.github.com/repos/cyder/SyncPod-server/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/cyder/SyncPod-server/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/cyder/SyncPod-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cyder/SyncPod-server/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/cyder/SyncPod-server/statuses/513030601b17a513d9417969079ec6cbd777aed1"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"euglena1215"}}