{"action":"created","comment":{"url":"https://api.github.com/repos/hotarak/chat-space/pulls/comments/91020802","pull_request_review_id":11531240,"id":91020802,"diff_hunk":"@@ -13,4 +24,12 @@ def set_group\n     @group = Group.find(params[:group_id])\n   end\n \n+  def message_params\n+    params.require(:message).permit(\n+    :body,\n+    :image,\n+    :user_id,\n+    :group_id","path":"app/controllers/messages_controller.rb","position":44,"original_position":27,"commit_id":"39186cfeb8d8a82182c40cf9014fbe1f5dedc349","original_commit_id":"a10bcb6078552510fb1fb67c5bf109370e30f65d","user":{"login":"maitanaka","id":17872129,"avatar_url":"https://avatars.githubusercontent.com/u/17872129?v=3","gravatar_id":"","url":"https://api.github.com/users/maitanaka","html_url":"https://github.com/maitanaka","followers_url":"https://api.github.com/users/maitanaka/followers","following_url":"https://api.github.com/users/maitanaka/following{/other_user}","gists_url":"https://api.github.com/users/maitanaka/gists{/gist_id}","starred_url":"https://api.github.com/users/maitanaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maitanaka/subscriptions","organizations_url":"https://api.github.com/users/maitanaka/orgs","repos_url":"https://api.github.com/users/maitanaka/repos","events_url":"https://api.github.com/users/maitanaka/events{/privacy}","received_events_url":"https://api.github.com/users/maitanaka/received_events","type":"User","site_admin":false},"body":"お！おけ、じゃあいいや〜〜！！","created_at":"2016-12-06T06:51:12Z","updated_at":"2016-12-06T06:51:12Z","html_url":"https://github.com/hotarak/chat-space/pull/12#discussion_r91020802","pull_request_url":"https://api.github.com/repos/hotarak/chat-space/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/hotarak/chat-space/pulls/comments/91020802"},"html":{"href":"https://github.com/hotarak/chat-space/pull/12#discussion_r91020802"},"pull_request":{"href":"https://api.github.com/repos/hotarak/chat-space/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/hotarak/chat-space/pulls/12","id":96526269,"html_url":"https://github.com/hotarak/chat-space/pull/12","diff_url":"https://github.com/hotarak/chat-space/pull/12.diff","patch_url":"https://github.com/hotarak/chat-space/pull/12.patch","issue_url":"https://api.github.com/repos/hotarak/chat-space/issues/12","number":12,"state":"open","locked":false,"title":"Add messages function","user":{"login":"hotarak","id":19544990,"avatar_url":"https://avatars.githubusercontent.com/u/19544990?v=3","gravatar_id":"","url":"https://api.github.com/users/hotarak","html_url":"https://github.com/hotarak","followers_url":"https://api.github.com/users/hotarak/followers","following_url":"https://api.github.com/users/hotarak/following{/other_user}","gists_url":"https://api.github.com/users/hotarak/gists{/gist_id}","starred_url":"https://api.github.com/users/hotarak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hotarak/subscriptions","organizations_url":"https://api.github.com/users/hotarak/orgs","repos_url":"https://api.github.com/users/hotarak/repos","events_url":"https://api.github.com/users/hotarak/events{/privacy}","received_events_url":"https://api.github.com/users/hotarak/received_events","type":"User","site_admin":false},"body":"# What\r\nメッセージ送信機能の実装(テキストのみ)\r\n- メッセージを送信できるようにする\r\n- フラッシュメッセージの実装\r\n- デザインの修正\r\n\r\n# Why\r\nメッセージを送ることができるようにするため","created_at":"2016-12-05T13:13:17Z","updated_at":"2016-12-06T06:51:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"207af934fce329bf1c07ec732895cb563a91e91a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hotarak/chat-space/pulls/12/commits","review_comments_url":"https://api.github.com/repos/hotarak/chat-space/pulls/12/comments","review_comment_url":"https://api.github.com/repos/hotarak/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hotarak/chat-space/issues/12/comments","statuses_url":"https://api.github.com/repos/hotarak/chat-space/statuses/39186cfeb8d8a82182c40cf9014fbe1f5dedc349","head":{"label":"hotarak:add_messages_function","ref":"add_messages_function","sha":"39186cfeb8d8a82182c40cf9014fbe1f5dedc349","user":{"login":"hotarak","id":19544990,"avatar_url":"https://avatars.githubusercontent.com/u/19544990?v=3","gravatar_id":"","url":"https://api.github.com/users/hotarak","html_url":"https://github.com/hotarak","followers_url":"https://api.github.com/users/hotarak/followers","following_url":"https://api.github.com/users/hotarak/following{/other_user}","gists_url":"https://api.github.com/users/hotarak/gists{/gist_id}","starred_url":"https://api.github.com/users/hotarak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hotarak/subscriptions","organizations_url":"https://api.github.com/users/hotarak/orgs","repos_url":"https://api.github.com/users/hotarak/repos","events_url":"https://api.github.com/users/hotarak/events{/privacy}","received_events_url":"https://api.github.com/users/hotarak/received_events","type":"User","site_admin":false},"repo":{"id":73457197,"name":"chat-space","full_name":"hotarak/chat-space","owner":{"login":"hotarak","id":19544990,"avatar_url":"https://avatars.githubusercontent.com/u/19544990?v=3","gravatar_id":"","url":"https://api.github.com/users/hotarak","html_url":"https://github.com/hotarak","followers_url":"https://api.github.com/users/hotarak/followers","following_url":"https://api.github.com/users/hotarak/following{/other_user}","gists_url":"https://api.github.com/users/hotarak/gists{/gist_id}","starred_url":"https://api.github.com/users/hotarak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hotarak/subscriptions","organizations_url":"https://api.github.com/users/hotarak/orgs","repos_url":"https://api.github.com/users/hotarak/repos","events_url":"https://api.github.com/users/hotarak/events{/privacy}","received_events_url":"https://api.github.com/users/hotarak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hotarak/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/hotarak/chat-space","forks_url":"https://api.github.com/repos/hotarak/chat-space/forks","keys_url":"https://api.github.com/repos/hotarak/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hotarak/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hotarak/chat-space/teams","hooks_url":"https://api.github.com/repos/hotarak/chat-space/hooks","issue_events_url":"https://api.github.com/repos/hotarak/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/hotarak/chat-space/events","assignees_url":"https://api.github.com/repos/hotarak/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/hotarak/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/hotarak/chat-space/tags","blobs_url":"https://api.github.com/repos/hotarak/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hotarak/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hotarak/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/hotarak/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hotarak/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/hotarak/chat-space/languages","stargazers_url":"https://api.github.com/repos/hotarak/chat-space/stargazers","contributors_url":"https://api.github.com/repos/hotarak/chat-space/contributors","subscribers_url":"https://api.github.com/repos/hotarak/chat-space/subscribers","subscription_url":"https://api.github.com/repos/hotarak/chat-space/subscription","commits_url":"https://api.github.com/repos/hotarak/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/hotarak/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/hotarak/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/hotarak/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/hotarak/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/hotarak/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hotarak/chat-space/merges","archive_url":"https://api.github.com/repos/hotarak/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hotarak/chat-space/downloads","issues_url":"https://api.github.com/repos/hotarak/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/hotarak/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/hotarak/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/hotarak/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hotarak/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/hotarak/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/hotarak/chat-space/deployments","created_at":"2016-11-11T07:51:22Z","updated_at":"2016-11-11T07:52:25Z","pushed_at":"2016-12-06T06:39:46Z","git_url":"git://github.com/hotarak/chat-space.git","ssh_url":"git@github.com:hotarak/chat-space.git","clone_url":"https://github.com/hotarak/chat-space.git","svn_url":"https://github.com/hotarak/chat-space","homepage":null,"size":102,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"hotarak:master","ref":"master","sha":"f27f2afeefc3abfad90fb824a26df5d156249381","user":{"login":"hotarak","id":19544990,"avatar_url":"https://avatars.githubusercontent.com/u/19544990?v=3","gravatar_id":"","url":"https://api.github.com/users/hotarak","html_url":"https://github.com/hotarak","followers_url":"https://api.github.com/users/hotarak/followers","following_url":"https://api.github.com/users/hotarak/following{/other_user}","gists_url":"https://api.github.com/users/hotarak/gists{/gist_id}","starred_url":"https://api.github.com/users/hotarak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hotarak/subscriptions","organizations_url":"https://api.github.com/users/hotarak/orgs","repos_url":"https://api.github.com/users/hotarak/repos","events_url":"https://api.github.com/users/hotarak/events{/privacy}","received_events_url":"https://api.github.com/users/hotarak/received_events","type":"User","site_admin":false},"repo":{"id":73457197,"name":"chat-space","full_name":"hotarak/chat-space","owner":{"login":"hotarak","id":19544990,"avatar_url":"https://avatars.githubusercontent.com/u/19544990?v=3","gravatar_id":"","url":"https://api.github.com/users/hotarak","html_url":"https://github.com/hotarak","followers_url":"https://api.github.com/users/hotarak/followers","following_url":"https://api.github.com/users/hotarak/following{/other_user}","gists_url":"https://api.github.com/users/hotarak/gists{/gist_id}","starred_url":"https://api.github.com/users/hotarak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hotarak/subscriptions","organizations_url":"https://api.github.com/users/hotarak/orgs","repos_url":"https://api.github.com/users/hotarak/repos","events_url":"https://api.github.com/users/hotarak/events{/privacy}","received_events_url":"https://api.github.com/users/hotarak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hotarak/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/hotarak/chat-space","forks_url":"https://api.github.com/repos/hotarak/chat-space/forks","keys_url":"https://api.github.com/repos/hotarak/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hotarak/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hotarak/chat-space/teams","hooks_url":"https://api.github.com/repos/hotarak/chat-space/hooks","issue_events_url":"https://api.github.com/repos/hotarak/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/hotarak/chat-space/events","assignees_url":"https://api.github.com/repos/hotarak/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/hotarak/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/hotarak/chat-space/tags","blobs_url":"https://api.github.com/repos/hotarak/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hotarak/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hotarak/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/hotarak/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hotarak/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/hotarak/chat-space/languages","stargazers_url":"https://api.github.com/repos/hotarak/chat-space/stargazers","contributors_url":"https://api.github.com/repos/hotarak/chat-space/contributors","subscribers_url":"https://api.github.com/repos/hotarak/chat-space/subscribers","subscription_url":"https://api.github.com/repos/hotarak/chat-space/subscription","commits_url":"https://api.github.com/repos/hotarak/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/hotarak/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/hotarak/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/hotarak/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/hotarak/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/hotarak/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hotarak/chat-space/merges","archive_url":"https://api.github.com/repos/hotarak/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hotarak/chat-space/downloads","issues_url":"https://api.github.com/repos/hotarak/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/hotarak/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/hotarak/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/hotarak/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hotarak/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/hotarak/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/hotarak/chat-space/deployments","created_at":"2016-11-11T07:51:22Z","updated_at":"2016-11-11T07:52:25Z","pushed_at":"2016-12-06T06:39:46Z","git_url":"git://github.com/hotarak/chat-space.git","ssh_url":"git@github.com:hotarak/chat-space.git","clone_url":"https://github.com/hotarak/chat-space.git","svn_url":"https://github.com/hotarak/chat-space","homepage":null,"size":102,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hotarak/chat-space/pulls/12"},"html":{"href":"https://github.com/hotarak/chat-space/pull/12"},"issue":{"href":"https://api.github.com/repos/hotarak/chat-space/issues/12"},"comments":{"href":"https://api.github.com/repos/hotarak/chat-space/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/hotarak/chat-space/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/hotarak/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hotarak/chat-space/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/hotarak/chat-space/statuses/39186cfeb8d8a82182c40cf9014fbe1f5dedc349"}}}}
{"actor":{"display_login":"maitanaka"}}