{"action":"created","comment":{"url":"https://api.github.com/repos/kannumata/chat-space2/pulls/comments/198804566","pull_request_review_id":132797516,"id":198804566,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODgwNDU2Ng==","diff_hunk":"@@ -7,38 +7,43 @@\n |name|string|index: true|\n |mail|string|null: false, unique: true\n \n+### Association\n+-has_many :message\n+-has_many :members\n+-has_many :groups through :members","path":"README.md","position":null,"original_position":7,"commit_id":"ad3b2876d9f0ad6003042fee09714c6f5f9e6ac0","original_commit_id":"ad3b2876d9f0ad6003042fee09714c6f5f9e6ac0","user":{"login":"quelmecabj","id":38576430,"node_id":"MDQ6VXNlcjM4NTc2NDMw","avatar_url":"https://avatars2.githubusercontent.com/u/38576430?v=4","gravatar_id":"","url":"https://api.github.com/users/quelmecabj","html_url":"https://github.com/quelmecabj","followers_url":"https://api.github.com/users/quelmecabj/followers","following_url":"https://api.github.com/users/quelmecabj/following{/other_user}","gists_url":"https://api.github.com/users/quelmecabj/gists{/gist_id}","starred_url":"https://api.github.com/users/quelmecabj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quelmecabj/subscriptions","organizations_url":"https://api.github.com/users/quelmecabj/orgs","repos_url":"https://api.github.com/users/quelmecabj/repos","events_url":"https://api.github.com/users/quelmecabj/events{/privacy}","received_events_url":"https://api.github.com/users/quelmecabj/received_events","type":"User","site_admin":false},"body":"Associationの記述方法がマークアップ記述になっていません。\r\n-has_many :messagesのように冒頭の\"-\"から半角スペースを1マス空けましょう。\r\n- has_many :messages","created_at":"2018-06-28T11:16:22Z","updated_at":"2018-06-28T11:17:34Z","html_url":"https://github.com/kannumata/chat-space2/pull/2#discussion_r198804566","pull_request_url":"https://api.github.com/repos/kannumata/chat-space2/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/kannumata/chat-space2/pulls/comments/198804566"},"html":{"href":"https://github.com/kannumata/chat-space2/pull/2#discussion_r198804566"},"pull_request":{"href":"https://api.github.com/repos/kannumata/chat-space2/pulls/2"}},"in_reply_to_id":198804187},"pull_request":{"url":"https://api.github.com/repos/kannumata/chat-space2/pulls/2","id":197357138,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MzU3MTM4","html_url":"https://github.com/kannumata/chat-space2/pull/2","diff_url":"https://github.com/kannumata/chat-space2/pull/2.diff","patch_url":"https://github.com/kannumata/chat-space2/pull/2.patch","issue_url":"https://api.github.com/repos/kannumata/chat-space2/issues/2","number":2,"state":"open","locked":false,"title":"Readme データベース設計","user":{"login":"kannumata","id":37305108,"node_id":"MDQ6VXNlcjM3MzA1MTA4","avatar_url":"https://avatars1.githubusercontent.com/u/37305108?v=4","gravatar_id":"","url":"https://api.github.com/users/kannumata","html_url":"https://github.com/kannumata","followers_url":"https://api.github.com/users/kannumata/followers","following_url":"https://api.github.com/users/kannumata/following{/other_user}","gists_url":"https://api.github.com/users/kannumata/gists{/gist_id}","starred_url":"https://api.github.com/users/kannumata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kannumata/subscriptions","organizations_url":"https://api.github.com/users/kannumata/orgs","repos_url":"https://api.github.com/users/kannumata/repos","events_url":"https://api.github.com/users/kannumata/events{/privacy}","received_events_url":"https://api.github.com/users/kannumata/received_events","type":"User","site_admin":false},"body":"readmeを書きました","created_at":"2018-06-26T09:26:17Z","updated_at":"2018-06-28T11:17:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20872809b63be0635c8c3f13f3283277e99c54ca","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kannumata/chat-space2/pulls/2/commits","review_comments_url":"https://api.github.com/repos/kannumata/chat-space2/pulls/2/comments","review_comment_url":"https://api.github.com/repos/kannumata/chat-space2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kannumata/chat-space2/issues/2/comments","statuses_url":"https://api.github.com/repos/kannumata/chat-space2/statuses/ad3b2876d9f0ad6003042fee09714c6f5f9e6ac0","head":{"label":"kannumata:building-database","ref":"building-database","sha":"ad3b2876d9f0ad6003042fee09714c6f5f9e6ac0","user":{"login":"kannumata","id":37305108,"node_id":"MDQ6VXNlcjM3MzA1MTA4","avatar_url":"https://avatars1.githubusercontent.com/u/37305108?v=4","gravatar_id":"","url":"https://api.github.com/users/kannumata","html_url":"https://github.com/kannumata","followers_url":"https://api.github.com/users/kannumata/followers","following_url":"https://api.github.com/users/kannumata/following{/other_user}","gists_url":"https://api.github.com/users/kannumata/gists{/gist_id}","starred_url":"https://api.github.com/users/kannumata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kannumata/subscriptions","organizations_url":"https://api.github.com/users/kannumata/orgs","repos_url":"https://api.github.com/users/kannumata/repos","events_url":"https://api.github.com/users/kannumata/events{/privacy}","received_events_url":"https://api.github.com/users/kannumata/received_events","type":"User","site_admin":false},"repo":{"id":138696419,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg2OTY0MTk=","name":"chat-space2","full_name":"kannumata/chat-space2","owner":{"login":"kannumata","id":37305108,"node_id":"MDQ6VXNlcjM3MzA1MTA4","avatar_url":"https://avatars1.githubusercontent.com/u/37305108?v=4","gravatar_id":"","url":"https://api.github.com/users/kannumata","html_url":"https://github.com/kannumata","followers_url":"https://api.github.com/users/kannumata/followers","following_url":"https://api.github.com/users/kannumata/following{/other_user}","gists_url":"https://api.github.com/users/kannumata/gists{/gist_id}","starred_url":"https://api.github.com/users/kannumata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kannumata/subscriptions","organizations_url":"https://api.github.com/users/kannumata/orgs","repos_url":"https://api.github.com/users/kannumata/repos","events_url":"https://api.github.com/users/kannumata/events{/privacy}","received_events_url":"https://api.github.com/users/kannumata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kannumata/chat-space2","description":null,"fork":false,"url":"https://api.github.com/repos/kannumata/chat-space2","forks_url":"https://api.github.com/repos/kannumata/chat-space2/forks","keys_url":"https://api.github.com/repos/kannumata/chat-space2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kannumata/chat-space2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kannumata/chat-space2/teams","hooks_url":"https://api.github.com/repos/kannumata/chat-space2/hooks","issue_events_url":"https://api.github.com/repos/kannumata/chat-space2/issues/events{/number}","events_url":"https://api.github.com/repos/kannumata/chat-space2/events","assignees_url":"https://api.github.com/repos/kannumata/chat-space2/assignees{/user}","branches_url":"https://api.github.com/repos/kannumata/chat-space2/branches{/branch}","tags_url":"https://api.github.com/repos/kannumata/chat-space2/tags","blobs_url":"https://api.github.com/repos/kannumata/chat-space2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kannumata/chat-space2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kannumata/chat-space2/git/refs{/sha}","trees_url":"https://api.github.com/repos/kannumata/chat-space2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kannumata/chat-space2/statuses/{sha}","languages_url":"https://api.github.com/repos/kannumata/chat-space2/languages","stargazers_url":"https://api.github.com/repos/kannumata/chat-space2/stargazers","contributors_url":"https://api.github.com/repos/kannumata/chat-space2/contributors","subscribers_url":"https://api.github.com/repos/kannumata/chat-space2/subscribers","subscription_url":"https://api.github.com/repos/kannumata/chat-space2/subscription","commits_url":"https://api.github.com/repos/kannumata/chat-space2/commits{/sha}","git_commits_url":"https://api.github.com/repos/kannumata/chat-space2/git/commits{/sha}","comments_url":"https://api.github.com/repos/kannumata/chat-space2/comments{/number}","issue_comment_url":"https://api.github.com/repos/kannumata/chat-space2/issues/comments{/number}","contents_url":"https://api.github.com/repos/kannumata/chat-space2/contents/{+path}","compare_url":"https://api.github.com/repos/kannumata/chat-space2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kannumata/chat-space2/merges","archive_url":"https://api.github.com/repos/kannumata/chat-space2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kannumata/chat-space2/downloads","issues_url":"https://api.github.com/repos/kannumata/chat-space2/issues{/number}","pulls_url":"https://api.github.com/repos/kannumata/chat-space2/pulls{/number}","milestones_url":"https://api.github.com/repos/kannumata/chat-space2/milestones{/number}","notifications_url":"https://api.github.com/repos/kannumata/chat-space2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kannumata/chat-space2/labels{/name}","releases_url":"https://api.github.com/repos/kannumata/chat-space2/releases{/id}","deployments_url":"https://api.github.com/repos/kannumata/chat-space2/deployments","created_at":"2018-06-26T06:49:38Z","updated_at":"2018-06-26T09:26:18Z","pushed_at":"2018-06-26T10:37:08Z","git_url":"git://github.com/kannumata/chat-space2.git","ssh_url":"git@github.com:kannumata/chat-space2.git","clone_url":"https://github.com/kannumata/chat-space2.git","svn_url":"https://github.com/kannumata/chat-space2","homepage":null,"size":25,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kannumata:master","ref":"master","sha":"53ce59a20c908082e2b02cd71c77b6d5a2ffa3cb","user":{"login":"kannumata","id":37305108,"node_id":"MDQ6VXNlcjM3MzA1MTA4","avatar_url":"https://avatars1.githubusercontent.com/u/37305108?v=4","gravatar_id":"","url":"https://api.github.com/users/kannumata","html_url":"https://github.com/kannumata","followers_url":"https://api.github.com/users/kannumata/followers","following_url":"https://api.github.com/users/kannumata/following{/other_user}","gists_url":"https://api.github.com/users/kannumata/gists{/gist_id}","starred_url":"https://api.github.com/users/kannumata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kannumata/subscriptions","organizations_url":"https://api.github.com/users/kannumata/orgs","repos_url":"https://api.github.com/users/kannumata/repos","events_url":"https://api.github.com/users/kannumata/events{/privacy}","received_events_url":"https://api.github.com/users/kannumata/received_events","type":"User","site_admin":false},"repo":{"id":138696419,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg2OTY0MTk=","name":"chat-space2","full_name":"kannumata/chat-space2","owner":{"login":"kannumata","id":37305108,"node_id":"MDQ6VXNlcjM3MzA1MTA4","avatar_url":"https://avatars1.githubusercontent.com/u/37305108?v=4","gravatar_id":"","url":"https://api.github.com/users/kannumata","html_url":"https://github.com/kannumata","followers_url":"https://api.github.com/users/kannumata/followers","following_url":"https://api.github.com/users/kannumata/following{/other_user}","gists_url":"https://api.github.com/users/kannumata/gists{/gist_id}","starred_url":"https://api.github.com/users/kannumata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kannumata/subscriptions","organizations_url":"https://api.github.com/users/kannumata/orgs","repos_url":"https://api.github.com/users/kannumata/repos","events_url":"https://api.github.com/users/kannumata/events{/privacy}","received_events_url":"https://api.github.com/users/kannumata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kannumata/chat-space2","description":null,"fork":false,"url":"https://api.github.com/repos/kannumata/chat-space2","forks_url":"https://api.github.com/repos/kannumata/chat-space2/forks","keys_url":"https://api.github.com/repos/kannumata/chat-space2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kannumata/chat-space2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kannumata/chat-space2/teams","hooks_url":"https://api.github.com/repos/kannumata/chat-space2/hooks","issue_events_url":"https://api.github.com/repos/kannumata/chat-space2/issues/events{/number}","events_url":"https://api.github.com/repos/kannumata/chat-space2/events","assignees_url":"https://api.github.com/repos/kannumata/chat-space2/assignees{/user}","branches_url":"https://api.github.com/repos/kannumata/chat-space2/branches{/branch}","tags_url":"https://api.github.com/repos/kannumata/chat-space2/tags","blobs_url":"https://api.github.com/repos/kannumata/chat-space2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kannumata/chat-space2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kannumata/chat-space2/git/refs{/sha}","trees_url":"https://api.github.com/repos/kannumata/chat-space2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kannumata/chat-space2/statuses/{sha}","languages_url":"https://api.github.com/repos/kannumata/chat-space2/languages","stargazers_url":"https://api.github.com/repos/kannumata/chat-space2/stargazers","contributors_url":"https://api.github.com/repos/kannumata/chat-space2/contributors","subscribers_url":"https://api.github.com/repos/kannumata/chat-space2/subscribers","subscription_url":"https://api.github.com/repos/kannumata/chat-space2/subscription","commits_url":"https://api.github.com/repos/kannumata/chat-space2/commits{/sha}","git_commits_url":"https://api.github.com/repos/kannumata/chat-space2/git/commits{/sha}","comments_url":"https://api.github.com/repos/kannumata/chat-space2/comments{/number}","issue_comment_url":"https://api.github.com/repos/kannumata/chat-space2/issues/comments{/number}","contents_url":"https://api.github.com/repos/kannumata/chat-space2/contents/{+path}","compare_url":"https://api.github.com/repos/kannumata/chat-space2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kannumata/chat-space2/merges","archive_url":"https://api.github.com/repos/kannumata/chat-space2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kannumata/chat-space2/downloads","issues_url":"https://api.github.com/repos/kannumata/chat-space2/issues{/number}","pulls_url":"https://api.github.com/repos/kannumata/chat-space2/pulls{/number}","milestones_url":"https://api.github.com/repos/kannumata/chat-space2/milestones{/number}","notifications_url":"https://api.github.com/repos/kannumata/chat-space2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kannumata/chat-space2/labels{/name}","releases_url":"https://api.github.com/repos/kannumata/chat-space2/releases{/id}","deployments_url":"https://api.github.com/repos/kannumata/chat-space2/deployments","created_at":"2018-06-26T06:49:38Z","updated_at":"2018-06-26T09:26:18Z","pushed_at":"2018-06-26T10:37:08Z","git_url":"git://github.com/kannumata/chat-space2.git","ssh_url":"git@github.com:kannumata/chat-space2.git","clone_url":"https://github.com/kannumata/chat-space2.git","svn_url":"https://github.com/kannumata/chat-space2","homepage":null,"size":25,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kannumata/chat-space2/pulls/2"},"html":{"href":"https://github.com/kannumata/chat-space2/pull/2"},"issue":{"href":"https://api.github.com/repos/kannumata/chat-space2/issues/2"},"comments":{"href":"https://api.github.com/repos/kannumata/chat-space2/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/kannumata/chat-space2/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/kannumata/chat-space2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kannumata/chat-space2/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/kannumata/chat-space2/statuses/ad3b2876d9f0ad6003042fee09714c6f5f9e6ac0"}},"author_association":"OWNER"}}
{"actor":{"display_login":"quelmecabj"}}