{"action":"created","issue":{"url":"https://api.github.com/repos/shingoteshima/chat-space/issues/10","repository_url":"https://api.github.com/repos/shingoteshima/chat-space","labels_url":"https://api.github.com/repos/shingoteshima/chat-space/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/shingoteshima/chat-space/issues/10/comments","events_url":"https://api.github.com/repos/shingoteshima/chat-space/issues/10/events","html_url":"https://github.com/shingoteshima/chat-space/pull/10","id":245940986,"number":10,"title":"Group function","user":{"login":"shingoteshima","id":27781505,"avatar_url":"https://avatars0.githubusercontent.com/u/27781505?v=4","gravatar_id":"","url":"https://api.github.com/users/shingoteshima","html_url":"https://github.com/shingoteshima","followers_url":"https://api.github.com/users/shingoteshima/followers","following_url":"https://api.github.com/users/shingoteshima/following{/other_user}","gists_url":"https://api.github.com/users/shingoteshima/gists{/gist_id}","starred_url":"https://api.github.com/users/shingoteshima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shingoteshima/subscriptions","organizations_url":"https://api.github.com/users/shingoteshima/orgs","repos_url":"https://api.github.com/users/shingoteshima/repos","events_url":"https://api.github.com/users/shingoteshima/events{/privacy}","received_events_url":"https://api.github.com/users/shingoteshima/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-07-27T06:44:52Z","updated_at":"2017-07-28T14:32:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/shingoteshima/chat-space/pulls/10","html_url":"https://github.com/shingoteshima/chat-space/pull/10","diff_url":"https://github.com/shingoteshima/chat-space/pull/10.diff","patch_url":"https://github.com/shingoteshima/chat-space/pull/10.patch"},"body":"# what\r\nグループ作成機能の実装\r\nメンバー追加機能の実装"},"comment":{"url":"https://api.github.com/repos/shingoteshima/chat-space/issues/comments/318667758","html_url":"https://github.com/shingoteshima/chat-space/pull/10#issuecomment-318667758","issue_url":"https://api.github.com/repos/shingoteshima/chat-space/issues/10","id":318667758,"user":{"login":"yoshixj","id":15084146,"avatar_url":"https://avatars1.githubusercontent.com/u/15084146?v=4","gravatar_id":"","url":"https://api.github.com/users/yoshixj","html_url":"https://github.com/yoshixj","followers_url":"https://api.github.com/users/yoshixj/followers","following_url":"https://api.github.com/users/yoshixj/following{/other_user}","gists_url":"https://api.github.com/users/yoshixj/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshixj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshixj/subscriptions","organizations_url":"https://api.github.com/users/yoshixj/orgs","repos_url":"https://api.github.com/users/yoshixj/repos","events_url":"https://api.github.com/users/yoshixj/events{/privacy}","received_events_url":"https://api.github.com/users/yoshixj/received_events","type":"User","site_admin":false},"created_at":"2017-07-28T14:32:15Z","updated_at":"2017-07-28T14:32:15Z","body":"@groupにグループ単体インスタンスが入っていないからが入ってないからエラーが出てる。\r\nたとえばmessageコントローラのindexアクションに\r\n```\r\n@group = Group.find(1)\r\n```\r\nとかすればとりまエラーは消える。\r\n\r\n\r\nだから、今入っているGroup(メッセージを送信するグループ)のインスタンスが@groupにはいるようにすればいいんよ。"}}
{"actor":{"display_login":"yoshixj"}}