{"action":"created","comment":{"url":"https://api.github.com/repos/kirinkubinagai/chat-space/pulls/comments/89669389","pull_request_review_id":10213272,"id":89669389,"diff_hunk":"@@ -3,4 +3,5 @@ class ChatGroup < ApplicationRecord\n   has_many :users,through: :users_groups\n   has_many :messages\n   accepts_nested_attributes_for :users\n+  validates :name,presence: true","path":"app/models/chat_group.rb","position":4,"original_position":4,"commit_id":"0db3407845a680a967078f2cbc6039ae3f77eff8","original_commit_id":"0db3407845a680a967078f2cbc6039ae3f77eff8","user":{"login":"yusukeyamane","id":9315114,"avatar_url":"https://avatars.githubusercontent.com/u/9315114?v=3","gravatar_id":"","url":"https://api.github.com/users/yusukeyamane","html_url":"https://github.com/yusukeyamane","followers_url":"https://api.github.com/users/yusukeyamane/followers","following_url":"https://api.github.com/users/yusukeyamane/following{/other_user}","gists_url":"https://api.github.com/users/yusukeyamane/gists{/gist_id}","starred_url":"https://api.github.com/users/yusukeyamane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusukeyamane/subscriptions","organizations_url":"https://api.github.com/users/yusukeyamane/orgs","repos_url":"https://api.github.com/users/yusukeyamane/repos","events_url":"https://api.github.com/users/yusukeyamane/events{/privacy}","received_events_url":"https://api.github.com/users/yusukeyamane/received_events","type":"User","site_admin":false},"body":"カンマの後はスペースを空けましょう！","created_at":"2016-11-26T10:17:37Z","updated_at":"2016-11-26T10:17:37Z","html_url":"https://github.com/kirinkubinagai/chat-space/pull/17#discussion_r89669389","pull_request_url":"https://api.github.com/repos/kirinkubinagai/chat-space/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/kirinkubinagai/chat-space/pulls/comments/89669389"},"html":{"href":"https://github.com/kirinkubinagai/chat-space/pull/17#discussion_r89669389"},"pull_request":{"href":"https://api.github.com/repos/kirinkubinagai/chat-space/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/kirinkubinagai/chat-space/pulls/17","id":95367060,"html_url":"https://github.com/kirinkubinagai/chat-space/pull/17","diff_url":"https://github.com/kirinkubinagai/chat-space/pull/17.diff","patch_url":"https://github.com/kirinkubinagai/chat-space/pull/17.patch","issue_url":"https://api.github.com/repos/kirinkubinagai/chat-space/issues/17","number":17,"state":"open","locked":false,"title":"コントローラーのテスト","user":{"login":"kirinkubinagai","id":20741515,"avatar_url":"https://avatars.githubusercontent.com/u/20741515?v=3","gravatar_id":"","url":"https://api.github.com/users/kirinkubinagai","html_url":"https://github.com/kirinkubinagai","followers_url":"https://api.github.com/users/kirinkubinagai/followers","following_url":"https://api.github.com/users/kirinkubinagai/following{/other_user}","gists_url":"https://api.github.com/users/kirinkubinagai/gists{/gist_id}","starred_url":"https://api.github.com/users/kirinkubinagai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirinkubinagai/subscriptions","organizations_url":"https://api.github.com/users/kirinkubinagai/orgs","repos_url":"https://api.github.com/users/kirinkubinagai/repos","events_url":"https://api.github.com/users/kirinkubinagai/events{/privacy}","received_events_url":"https://api.github.com/users/kirinkubinagai/received_events","type":"User","site_admin":false},"body":"# what\nコントローラーのテスト\n# why\nコントローラーが正しく作動するか確認するため","created_at":"2016-11-26T09:57:30Z","updated_at":"2016-11-26T10:17:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4c79c46242e2f0857301e8f586098e8fbb75ee06","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kirinkubinagai/chat-space/pulls/17/commits","review_comments_url":"https://api.github.com/repos/kirinkubinagai/chat-space/pulls/17/comments","review_comment_url":"https://api.github.com/repos/kirinkubinagai/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kirinkubinagai/chat-space/issues/17/comments","statuses_url":"https://api.github.com/repos/kirinkubinagai/chat-space/statuses/0db3407845a680a967078f2cbc6039ae3f77eff8","head":{"label":"kirinkubinagai:ceate_test_controller","ref":"ceate_test_controller","sha":"0db3407845a680a967078f2cbc6039ae3f77eff8","user":{"login":"kirinkubinagai","id":20741515,"avatar_url":"https://avatars.githubusercontent.com/u/20741515?v=3","gravatar_id":"","url":"https://api.github.com/users/kirinkubinagai","html_url":"https://github.com/kirinkubinagai","followers_url":"https://api.github.com/users/kirinkubinagai/followers","following_url":"https://api.github.com/users/kirinkubinagai/following{/other_user}","gists_url":"https://api.github.com/users/kirinkubinagai/gists{/gist_id}","starred_url":"https://api.github.com/users/kirinkubinagai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirinkubinagai/subscriptions","organizations_url":"https://api.github.com/users/kirinkubinagai/orgs","repos_url":"https://api.github.com/users/kirinkubinagai/repos","events_url":"https://api.github.com/users/kirinkubinagai/events{/privacy}","received_events_url":"https://api.github.com/users/kirinkubinagai/received_events","type":"User","site_admin":false},"repo":{"id":73478661,"name":"chat-space","full_name":"kirinkubinagai/chat-space","owner":{"login":"kirinkubinagai","id":20741515,"avatar_url":"https://avatars.githubusercontent.com/u/20741515?v=3","gravatar_id":"","url":"https://api.github.com/users/kirinkubinagai","html_url":"https://github.com/kirinkubinagai","followers_url":"https://api.github.com/users/kirinkubinagai/followers","following_url":"https://api.github.com/users/kirinkubinagai/following{/other_user}","gists_url":"https://api.github.com/users/kirinkubinagai/gists{/gist_id}","starred_url":"https://api.github.com/users/kirinkubinagai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirinkubinagai/subscriptions","organizations_url":"https://api.github.com/users/kirinkubinagai/orgs","repos_url":"https://api.github.com/users/kirinkubinagai/repos","events_url":"https://api.github.com/users/kirinkubinagai/events{/privacy}","received_events_url":"https://api.github.com/users/kirinkubinagai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kirinkubinagai/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/kirinkubinagai/chat-space","forks_url":"https://api.github.com/repos/kirinkubinagai/chat-space/forks","keys_url":"https://api.github.com/repos/kirinkubinagai/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kirinkubinagai/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kirinkubinagai/chat-space/teams","hooks_url":"https://api.github.com/repos/kirinkubinagai/chat-space/hooks","issue_events_url":"https://api.github.com/repos/kirinkubinagai/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/kirinkubinagai/chat-space/events","assignees_url":"https://api.github.com/repos/kirinkubinagai/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/kirinkubinagai/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/kirinkubinagai/chat-space/tags","blobs_url":"https://api.github.com/repos/kirinkubinagai/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kirinkubinagai/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kirinkubinagai/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/kirinkubinagai/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kirinkubinagai/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/kirinkubinagai/chat-space/languages","stargazers_url":"https://api.github.com/repos/kirinkubinagai/chat-space/stargazers","contributors_url":"https://api.github.com/repos/kirinkubinagai/chat-space/contributors","subscribers_url":"https://api.github.com/repos/kirinkubinagai/chat-space/subscribers","subscription_url":"https://api.github.com/repos/kirinkubinagai/chat-space/subscription","commits_url":"https://api.github.com/repos/kirinkubinagai/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/kirinkubinagai/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/kirinkubinagai/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/kirinkubinagai/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/kirinkubinagai/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/kirinkubinagai/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kirinkubinagai/chat-space/merges","archive_url":"https://api.github.com/repos/kirinkubinagai/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kirinkubinagai/chat-space/downloads","issues_url":"https://api.github.com/repos/kirinkubinagai/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/kirinkubinagai/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/kirinkubinagai/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/kirinkubinagai/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kirinkubinagai/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/kirinkubinagai/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/kirinkubinagai/chat-space/deployments","created_at":"2016-11-11T13:10:28Z","updated_at":"2016-11-12T02:45:56Z","pushed_at":"2016-11-26T09:57:30Z","git_url":"git://github.com/kirinkubinagai/chat-space.git","ssh_url":"git@github.com:kirinkubinagai/chat-space.git","clone_url":"https://github.com/kirinkubinagai/chat-space.git","svn_url":"https://github.com/kirinkubinagai/chat-space","homepage":null,"size":106,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kirinkubinagai:master","ref":"master","sha":"fd40e68beb476ec8687b1cb2d04aef3232d378d7","user":{"login":"kirinkubinagai","id":20741515,"avatar_url":"https://avatars.githubusercontent.com/u/20741515?v=3","gravatar_id":"","url":"https://api.github.com/users/kirinkubinagai","html_url":"https://github.com/kirinkubinagai","followers_url":"https://api.github.com/users/kirinkubinagai/followers","following_url":"https://api.github.com/users/kirinkubinagai/following{/other_user}","gists_url":"https://api.github.com/users/kirinkubinagai/gists{/gist_id}","starred_url":"https://api.github.com/users/kirinkubinagai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirinkubinagai/subscriptions","organizations_url":"https://api.github.com/users/kirinkubinagai/orgs","repos_url":"https://api.github.com/users/kirinkubinagai/repos","events_url":"https://api.github.com/users/kirinkubinagai/events{/privacy}","received_events_url":"https://api.github.com/users/kirinkubinagai/received_events","type":"User","site_admin":false},"repo":{"id":73478661,"name":"chat-space","full_name":"kirinkubinagai/chat-space","owner":{"login":"kirinkubinagai","id":20741515,"avatar_url":"https://avatars.githubusercontent.com/u/20741515?v=3","gravatar_id":"","url":"https://api.github.com/users/kirinkubinagai","html_url":"https://github.com/kirinkubinagai","followers_url":"https://api.github.com/users/kirinkubinagai/followers","following_url":"https://api.github.com/users/kirinkubinagai/following{/other_user}","gists_url":"https://api.github.com/users/kirinkubinagai/gists{/gist_id}","starred_url":"https://api.github.com/users/kirinkubinagai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirinkubinagai/subscriptions","organizations_url":"https://api.github.com/users/kirinkubinagai/orgs","repos_url":"https://api.github.com/users/kirinkubinagai/repos","events_url":"https://api.github.com/users/kirinkubinagai/events{/privacy}","received_events_url":"https://api.github.com/users/kirinkubinagai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kirinkubinagai/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/kirinkubinagai/chat-space","forks_url":"https://api.github.com/repos/kirinkubinagai/chat-space/forks","keys_url":"https://api.github.com/repos/kirinkubinagai/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kirinkubinagai/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kirinkubinagai/chat-space/teams","hooks_url":"https://api.github.com/repos/kirinkubinagai/chat-space/hooks","issue_events_url":"https://api.github.com/repos/kirinkubinagai/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/kirinkubinagai/chat-space/events","assignees_url":"https://api.github.com/repos/kirinkubinagai/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/kirinkubinagai/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/kirinkubinagai/chat-space/tags","blobs_url":"https://api.github.com/repos/kirinkubinagai/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kirinkubinagai/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kirinkubinagai/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/kirinkubinagai/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kirinkubinagai/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/kirinkubinagai/chat-space/languages","stargazers_url":"https://api.github.com/repos/kirinkubinagai/chat-space/stargazers","contributors_url":"https://api.github.com/repos/kirinkubinagai/chat-space/contributors","subscribers_url":"https://api.github.com/repos/kirinkubinagai/chat-space/subscribers","subscription_url":"https://api.github.com/repos/kirinkubinagai/chat-space/subscription","commits_url":"https://api.github.com/repos/kirinkubinagai/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/kirinkubinagai/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/kirinkubinagai/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/kirinkubinagai/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/kirinkubinagai/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/kirinkubinagai/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kirinkubinagai/chat-space/merges","archive_url":"https://api.github.com/repos/kirinkubinagai/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kirinkubinagai/chat-space/downloads","issues_url":"https://api.github.com/repos/kirinkubinagai/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/kirinkubinagai/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/kirinkubinagai/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/kirinkubinagai/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kirinkubinagai/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/kirinkubinagai/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/kirinkubinagai/chat-space/deployments","created_at":"2016-11-11T13:10:28Z","updated_at":"2016-11-12T02:45:56Z","pushed_at":"2016-11-26T09:57:30Z","git_url":"git://github.com/kirinkubinagai/chat-space.git","ssh_url":"git@github.com:kirinkubinagai/chat-space.git","clone_url":"https://github.com/kirinkubinagai/chat-space.git","svn_url":"https://github.com/kirinkubinagai/chat-space","homepage":null,"size":106,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"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/kirinkubinagai/chat-space/pulls/17"},"html":{"href":"https://github.com/kirinkubinagai/chat-space/pull/17"},"issue":{"href":"https://api.github.com/repos/kirinkubinagai/chat-space/issues/17"},"comments":{"href":"https://api.github.com/repos/kirinkubinagai/chat-space/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/kirinkubinagai/chat-space/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/kirinkubinagai/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kirinkubinagai/chat-space/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/kirinkubinagai/chat-space/statuses/0db3407845a680a967078f2cbc6039ae3f77eff8"}}}}
{"actor":{"display_login":"yusukeyamane"}}