{"action":"created","comment":{"url":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls/comments/89667760","pull_request_review_id":10211819,"id":89667760,"diff_hunk":"@@ -1,3 +1,7 @@\n class Group < ApplicationRecord\n+  has_many :messages\n+  has_many :users, through: :groups_users\n+  has_many :group_users\n+  accepts_nested_attributes_for :group_users","path":"app/models/group.rb","position":null,"original_position":5,"commit_id":"1738727b0a93b84bb7b6ec5a9151893c2910e763","original_commit_id":"91221de53f172634a053dcd92fb01045a4299e91","user":{"login":"hayato-shirasaka","id":23450945,"avatar_url":"https://avatars.githubusercontent.com/u/23450945?v=3","gravatar_id":"","url":"https://api.github.com/users/hayato-shirasaka","html_url":"https://github.com/hayato-shirasaka","followers_url":"https://api.github.com/users/hayato-shirasaka/followers","following_url":"https://api.github.com/users/hayato-shirasaka/following{/other_user}","gists_url":"https://api.github.com/users/hayato-shirasaka/gists{/gist_id}","starred_url":"https://api.github.com/users/hayato-shirasaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayato-shirasaka/subscriptions","organizations_url":"https://api.github.com/users/hayato-shirasaka/orgs","repos_url":"https://api.github.com/users/hayato-shirasaka/repos","events_url":"https://api.github.com/users/hayato-shirasaka/events{/privacy}","received_events_url":"https://api.github.com/users/hayato-shirasaka/received_events","type":"User","site_admin":false},"body":"修正しました！","created_at":"2016-11-26T08:20:49Z","updated_at":"2016-11-26T08:20:49Z","html_url":"https://github.com/hayato-shirasaka/chat-space/pull/12#discussion_r89667760","pull_request_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls/comments/89667760"},"html":{"href":"https://github.com/hayato-shirasaka/chat-space/pull/12#discussion_r89667760"},"pull_request":{"href":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls/12","id":95144417,"html_url":"https://github.com/hayato-shirasaka/chat-space/pull/12","diff_url":"https://github.com/hayato-shirasaka/chat-space/pull/12.diff","patch_url":"https://github.com/hayato-shirasaka/chat-space/pull/12.patch","issue_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/issues/12","number":12,"state":"open","locked":false,"title":"Ceate groups","user":{"login":"hayato-shirasaka","id":23450945,"avatar_url":"https://avatars.githubusercontent.com/u/23450945?v=3","gravatar_id":"","url":"https://api.github.com/users/hayato-shirasaka","html_url":"https://github.com/hayato-shirasaka","followers_url":"https://api.github.com/users/hayato-shirasaka/followers","following_url":"https://api.github.com/users/hayato-shirasaka/following{/other_user}","gists_url":"https://api.github.com/users/hayato-shirasaka/gists{/gist_id}","starred_url":"https://api.github.com/users/hayato-shirasaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayato-shirasaka/subscriptions","organizations_url":"https://api.github.com/users/hayato-shirasaka/orgs","repos_url":"https://api.github.com/users/hayato-shirasaka/repos","events_url":"https://api.github.com/users/hayato-shirasaka/events{/privacy}","received_events_url":"https://api.github.com/users/hayato-shirasaka/received_events","type":"User","site_admin":false},"body":"# What\r\nチャットグループの作成\r\nルーティングの設定、scssファイルの調整、\r\n\r\n# Why\r\nグループ機能の実施のため\r\n\r\n![2016-11-24 18 43 08](https://cloud.githubusercontent.com/assets/23450945/20593477/fb3bb0d0-b275-11e6-912d-8f60367a5f88.png)\r\n","created_at":"2016-11-24T09:38:56Z","updated_at":"2016-11-26T08:20:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21834138cc474573da6a5c144b7ea41e52fe2139","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls/12/commits","review_comments_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls/12/comments","review_comment_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/issues/12/comments","statuses_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/statuses/1738727b0a93b84bb7b6ec5a9151893c2910e763","head":{"label":"hayato-shirasaka:ceate_groups","ref":"ceate_groups","sha":"1738727b0a93b84bb7b6ec5a9151893c2910e763","user":{"login":"hayato-shirasaka","id":23450945,"avatar_url":"https://avatars.githubusercontent.com/u/23450945?v=3","gravatar_id":"","url":"https://api.github.com/users/hayato-shirasaka","html_url":"https://github.com/hayato-shirasaka","followers_url":"https://api.github.com/users/hayato-shirasaka/followers","following_url":"https://api.github.com/users/hayato-shirasaka/following{/other_user}","gists_url":"https://api.github.com/users/hayato-shirasaka/gists{/gist_id}","starred_url":"https://api.github.com/users/hayato-shirasaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayato-shirasaka/subscriptions","organizations_url":"https://api.github.com/users/hayato-shirasaka/orgs","repos_url":"https://api.github.com/users/hayato-shirasaka/repos","events_url":"https://api.github.com/users/hayato-shirasaka/events{/privacy}","received_events_url":"https://api.github.com/users/hayato-shirasaka/received_events","type":"User","site_admin":false},"repo":{"id":73990347,"name":"chat-space","full_name":"hayato-shirasaka/chat-space","owner":{"login":"hayato-shirasaka","id":23450945,"avatar_url":"https://avatars.githubusercontent.com/u/23450945?v=3","gravatar_id":"","url":"https://api.github.com/users/hayato-shirasaka","html_url":"https://github.com/hayato-shirasaka","followers_url":"https://api.github.com/users/hayato-shirasaka/followers","following_url":"https://api.github.com/users/hayato-shirasaka/following{/other_user}","gists_url":"https://api.github.com/users/hayato-shirasaka/gists{/gist_id}","starred_url":"https://api.github.com/users/hayato-shirasaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayato-shirasaka/subscriptions","organizations_url":"https://api.github.com/users/hayato-shirasaka/orgs","repos_url":"https://api.github.com/users/hayato-shirasaka/repos","events_url":"https://api.github.com/users/hayato-shirasaka/events{/privacy}","received_events_url":"https://api.github.com/users/hayato-shirasaka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hayato-shirasaka/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/hayato-shirasaka/chat-space","forks_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/forks","keys_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/teams","hooks_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/hooks","issue_events_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/events","assignees_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/tags","blobs_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/languages","stargazers_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/stargazers","contributors_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/contributors","subscribers_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/subscribers","subscription_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/subscription","commits_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/merges","archive_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/downloads","issues_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/deployments","created_at":"2016-11-17T04:29:45Z","updated_at":"2016-11-17T04:29:52Z","pushed_at":"2016-11-26T08:18:55Z","git_url":"git://github.com/hayato-shirasaka/chat-space.git","ssh_url":"git@github.com:hayato-shirasaka/chat-space.git","clone_url":"https://github.com/hayato-shirasaka/chat-space.git","svn_url":"https://github.com/hayato-shirasaka/chat-space","homepage":null,"size":93,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"hayato-shirasaka:master","ref":"master","sha":"a94953a46f99d4482b925f73a6bb5e7a777e59ef","user":{"login":"hayato-shirasaka","id":23450945,"avatar_url":"https://avatars.githubusercontent.com/u/23450945?v=3","gravatar_id":"","url":"https://api.github.com/users/hayato-shirasaka","html_url":"https://github.com/hayato-shirasaka","followers_url":"https://api.github.com/users/hayato-shirasaka/followers","following_url":"https://api.github.com/users/hayato-shirasaka/following{/other_user}","gists_url":"https://api.github.com/users/hayato-shirasaka/gists{/gist_id}","starred_url":"https://api.github.com/users/hayato-shirasaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayato-shirasaka/subscriptions","organizations_url":"https://api.github.com/users/hayato-shirasaka/orgs","repos_url":"https://api.github.com/users/hayato-shirasaka/repos","events_url":"https://api.github.com/users/hayato-shirasaka/events{/privacy}","received_events_url":"https://api.github.com/users/hayato-shirasaka/received_events","type":"User","site_admin":false},"repo":{"id":73990347,"name":"chat-space","full_name":"hayato-shirasaka/chat-space","owner":{"login":"hayato-shirasaka","id":23450945,"avatar_url":"https://avatars.githubusercontent.com/u/23450945?v=3","gravatar_id":"","url":"https://api.github.com/users/hayato-shirasaka","html_url":"https://github.com/hayato-shirasaka","followers_url":"https://api.github.com/users/hayato-shirasaka/followers","following_url":"https://api.github.com/users/hayato-shirasaka/following{/other_user}","gists_url":"https://api.github.com/users/hayato-shirasaka/gists{/gist_id}","starred_url":"https://api.github.com/users/hayato-shirasaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayato-shirasaka/subscriptions","organizations_url":"https://api.github.com/users/hayato-shirasaka/orgs","repos_url":"https://api.github.com/users/hayato-shirasaka/repos","events_url":"https://api.github.com/users/hayato-shirasaka/events{/privacy}","received_events_url":"https://api.github.com/users/hayato-shirasaka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hayato-shirasaka/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/hayato-shirasaka/chat-space","forks_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/forks","keys_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/teams","hooks_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/hooks","issue_events_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/events","assignees_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/tags","blobs_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/languages","stargazers_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/stargazers","contributors_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/contributors","subscribers_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/subscribers","subscription_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/subscription","commits_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/merges","archive_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/downloads","issues_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/hayato-shirasaka/chat-space/deployments","created_at":"2016-11-17T04:29:45Z","updated_at":"2016-11-17T04:29:52Z","pushed_at":"2016-11-26T08:18:55Z","git_url":"git://github.com/hayato-shirasaka/chat-space.git","ssh_url":"git@github.com:hayato-shirasaka/chat-space.git","clone_url":"https://github.com/hayato-shirasaka/chat-space.git","svn_url":"https://github.com/hayato-shirasaka/chat-space","homepage":null,"size":93,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls/12"},"html":{"href":"https://github.com/hayato-shirasaka/chat-space/pull/12"},"issue":{"href":"https://api.github.com/repos/hayato-shirasaka/chat-space/issues/12"},"comments":{"href":"https://api.github.com/repos/hayato-shirasaka/chat-space/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hayato-shirasaka/chat-space/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/hayato-shirasaka/chat-space/statuses/1738727b0a93b84bb7b6ec5a9151893c2910e763"}}}}
{"actor":{"display_login":"hayato-shirasaka"}}