{"action":"created","comment":{"url":"https://api.github.com/repos/akihiro190/chat-space/pulls/comments/240963319","pull_request_review_id":184113308,"id":240963319,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDk2MzMxOQ==","diff_hunk":"@@ -1,4 +1,14 @@\n class UsersController < ApplicationController\n+\n+  def index\n+    @users = User.where('name LIKE(?)', \"%#{params[:name]}%\")","path":"app/controllers/users_controller.rb","position":null,"original_position":4,"commit_id":"01b22563eaa48c6e3f0f0d4d4aea6353728ba5c5","original_commit_id":"fd4f90d547d42a8e37aa9869c68aeabcf812f0b1","user":{"login":"akihiro190","id":45351317,"node_id":"MDQ6VXNlcjQ1MzUxMzE3","avatar_url":"https://avatars3.githubusercontent.com/u/45351317?v=4","gravatar_id":"","url":"https://api.github.com/users/akihiro190","html_url":"https://github.com/akihiro190","followers_url":"https://api.github.com/users/akihiro190/followers","following_url":"https://api.github.com/users/akihiro190/following{/other_user}","gists_url":"https://api.github.com/users/akihiro190/gists{/gist_id}","starred_url":"https://api.github.com/users/akihiro190/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akihiro190/subscriptions","organizations_url":"https://api.github.com/users/akihiro190/orgs","repos_url":"https://api.github.com/users/akihiro190/repos","events_url":"https://api.github.com/users/akihiro190/events{/privacy}","received_events_url":"https://api.github.com/users/akihiro190/received_events","type":"User","site_admin":false},"body":"where.notを使用し、current_userを取得しないよう書き直しました","created_at":"2018-12-12T10:43:50Z","updated_at":"2018-12-12T10:43:50Z","html_url":"https://github.com/akihiro190/chat-space/pull/11#discussion_r240963319","pull_request_url":"https://api.github.com/repos/akihiro190/chat-space/pulls/11","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/akihiro190/chat-space/pulls/comments/240963319"},"html":{"href":"https://github.com/akihiro190/chat-space/pull/11#discussion_r240963319"},"pull_request":{"href":"https://api.github.com/repos/akihiro190/chat-space/pulls/11"}},"in_reply_to_id":240947841},"pull_request":{"url":"https://api.github.com/repos/akihiro190/chat-space/pulls/11","id":237968046,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3OTY4MDQ2","html_url":"https://github.com/akihiro190/chat-space/pull/11","diff_url":"https://github.com/akihiro190/chat-space/pull/11.diff","patch_url":"https://github.com/akihiro190/chat-space/pull/11.patch","issue_url":"https://api.github.com/repos/akihiro190/chat-space/issues/11","number":11,"state":"open","locked":false,"title":"インクリメンタルサーチ実装","user":{"login":"akihiro190","id":45351317,"node_id":"MDQ6VXNlcjQ1MzUxMzE3","avatar_url":"https://avatars3.githubusercontent.com/u/45351317?v=4","gravatar_id":"","url":"https://api.github.com/users/akihiro190","html_url":"https://github.com/akihiro190","followers_url":"https://api.github.com/users/akihiro190/followers","following_url":"https://api.github.com/users/akihiro190/following{/other_user}","gists_url":"https://api.github.com/users/akihiro190/gists{/gist_id}","starred_url":"https://api.github.com/users/akihiro190/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akihiro190/subscriptions","organizations_url":"https://api.github.com/users/akihiro190/orgs","repos_url":"https://api.github.com/users/akihiro190/repos","events_url":"https://api.github.com/users/akihiro190/events{/privacy}","received_events_url":"https://api.github.com/users/akihiro190/received_events","type":"User","site_admin":false},"body":"# WHAT\nインクリメンタルサーチ実装\n\n# WHY\n必須機能のため","created_at":"2018-12-12T09:35:13Z","updated_at":"2018-12-12T10:43:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"544c1263dc67afffacbedaf2fe498a6f3a743ae0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/akihiro190/chat-space/pulls/11/commits","review_comments_url":"https://api.github.com/repos/akihiro190/chat-space/pulls/11/comments","review_comment_url":"https://api.github.com/repos/akihiro190/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akihiro190/chat-space/issues/11/comments","statuses_url":"https://api.github.com/repos/akihiro190/chat-space/statuses/01b22563eaa48c6e3f0f0d4d4aea6353728ba5c5","head":{"label":"akihiro190:Add-incremental-search","ref":"Add-incremental-search","sha":"01b22563eaa48c6e3f0f0d4d4aea6353728ba5c5","user":{"login":"akihiro190","id":45351317,"node_id":"MDQ6VXNlcjQ1MzUxMzE3","avatar_url":"https://avatars3.githubusercontent.com/u/45351317?v=4","gravatar_id":"","url":"https://api.github.com/users/akihiro190","html_url":"https://github.com/akihiro190","followers_url":"https://api.github.com/users/akihiro190/followers","following_url":"https://api.github.com/users/akihiro190/following{/other_user}","gists_url":"https://api.github.com/users/akihiro190/gists{/gist_id}","starred_url":"https://api.github.com/users/akihiro190/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akihiro190/subscriptions","organizations_url":"https://api.github.com/users/akihiro190/orgs","repos_url":"https://api.github.com/users/akihiro190/repos","events_url":"https://api.github.com/users/akihiro190/events{/privacy}","received_events_url":"https://api.github.com/users/akihiro190/received_events","type":"User","site_admin":false},"repo":{"id":159274098,"node_id":"MDEwOlJlcG9zaXRvcnkxNTkyNzQwOTg=","name":"chat-space","full_name":"akihiro190/chat-space","private":false,"owner":{"login":"akihiro190","id":45351317,"node_id":"MDQ6VXNlcjQ1MzUxMzE3","avatar_url":"https://avatars3.githubusercontent.com/u/45351317?v=4","gravatar_id":"","url":"https://api.github.com/users/akihiro190","html_url":"https://github.com/akihiro190","followers_url":"https://api.github.com/users/akihiro190/followers","following_url":"https://api.github.com/users/akihiro190/following{/other_user}","gists_url":"https://api.github.com/users/akihiro190/gists{/gist_id}","starred_url":"https://api.github.com/users/akihiro190/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akihiro190/subscriptions","organizations_url":"https://api.github.com/users/akihiro190/orgs","repos_url":"https://api.github.com/users/akihiro190/repos","events_url":"https://api.github.com/users/akihiro190/events{/privacy}","received_events_url":"https://api.github.com/users/akihiro190/received_events","type":"User","site_admin":false},"html_url":"https://github.com/akihiro190/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/akihiro190/chat-space","forks_url":"https://api.github.com/repos/akihiro190/chat-space/forks","keys_url":"https://api.github.com/repos/akihiro190/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akihiro190/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akihiro190/chat-space/teams","hooks_url":"https://api.github.com/repos/akihiro190/chat-space/hooks","issue_events_url":"https://api.github.com/repos/akihiro190/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/akihiro190/chat-space/events","assignees_url":"https://api.github.com/repos/akihiro190/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/akihiro190/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/akihiro190/chat-space/tags","blobs_url":"https://api.github.com/repos/akihiro190/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akihiro190/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akihiro190/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/akihiro190/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akihiro190/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/akihiro190/chat-space/languages","stargazers_url":"https://api.github.com/repos/akihiro190/chat-space/stargazers","contributors_url":"https://api.github.com/repos/akihiro190/chat-space/contributors","subscribers_url":"https://api.github.com/repos/akihiro190/chat-space/subscribers","subscription_url":"https://api.github.com/repos/akihiro190/chat-space/subscription","commits_url":"https://api.github.com/repos/akihiro190/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/akihiro190/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/akihiro190/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/akihiro190/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/akihiro190/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/akihiro190/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akihiro190/chat-space/merges","archive_url":"https://api.github.com/repos/akihiro190/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akihiro190/chat-space/downloads","issues_url":"https://api.github.com/repos/akihiro190/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/akihiro190/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/akihiro190/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/akihiro190/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akihiro190/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/akihiro190/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/akihiro190/chat-space/deployments","created_at":"2018-11-27T04:03:37Z","updated_at":"2018-12-11T06:54:43Z","pushed_at":"2018-12-12T10:42:03Z","git_url":"git://github.com/akihiro190/chat-space.git","ssh_url":"git@github.com:akihiro190/chat-space.git","clone_url":"https://github.com/akihiro190/chat-space.git","svn_url":"https://github.com/akihiro190/chat-space","homepage":null,"size":108,"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":"akihiro190:master","ref":"master","sha":"8750b22359fa2de2fff73192aff01d6c4ccd7b17","user":{"login":"akihiro190","id":45351317,"node_id":"MDQ6VXNlcjQ1MzUxMzE3","avatar_url":"https://avatars3.githubusercontent.com/u/45351317?v=4","gravatar_id":"","url":"https://api.github.com/users/akihiro190","html_url":"https://github.com/akihiro190","followers_url":"https://api.github.com/users/akihiro190/followers","following_url":"https://api.github.com/users/akihiro190/following{/other_user}","gists_url":"https://api.github.com/users/akihiro190/gists{/gist_id}","starred_url":"https://api.github.com/users/akihiro190/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akihiro190/subscriptions","organizations_url":"https://api.github.com/users/akihiro190/orgs","repos_url":"https://api.github.com/users/akihiro190/repos","events_url":"https://api.github.com/users/akihiro190/events{/privacy}","received_events_url":"https://api.github.com/users/akihiro190/received_events","type":"User","site_admin":false},"repo":{"id":159274098,"node_id":"MDEwOlJlcG9zaXRvcnkxNTkyNzQwOTg=","name":"chat-space","full_name":"akihiro190/chat-space","private":false,"owner":{"login":"akihiro190","id":45351317,"node_id":"MDQ6VXNlcjQ1MzUxMzE3","avatar_url":"https://avatars3.githubusercontent.com/u/45351317?v=4","gravatar_id":"","url":"https://api.github.com/users/akihiro190","html_url":"https://github.com/akihiro190","followers_url":"https://api.github.com/users/akihiro190/followers","following_url":"https://api.github.com/users/akihiro190/following{/other_user}","gists_url":"https://api.github.com/users/akihiro190/gists{/gist_id}","starred_url":"https://api.github.com/users/akihiro190/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akihiro190/subscriptions","organizations_url":"https://api.github.com/users/akihiro190/orgs","repos_url":"https://api.github.com/users/akihiro190/repos","events_url":"https://api.github.com/users/akihiro190/events{/privacy}","received_events_url":"https://api.github.com/users/akihiro190/received_events","type":"User","site_admin":false},"html_url":"https://github.com/akihiro190/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/akihiro190/chat-space","forks_url":"https://api.github.com/repos/akihiro190/chat-space/forks","keys_url":"https://api.github.com/repos/akihiro190/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akihiro190/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akihiro190/chat-space/teams","hooks_url":"https://api.github.com/repos/akihiro190/chat-space/hooks","issue_events_url":"https://api.github.com/repos/akihiro190/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/akihiro190/chat-space/events","assignees_url":"https://api.github.com/repos/akihiro190/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/akihiro190/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/akihiro190/chat-space/tags","blobs_url":"https://api.github.com/repos/akihiro190/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akihiro190/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akihiro190/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/akihiro190/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akihiro190/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/akihiro190/chat-space/languages","stargazers_url":"https://api.github.com/repos/akihiro190/chat-space/stargazers","contributors_url":"https://api.github.com/repos/akihiro190/chat-space/contributors","subscribers_url":"https://api.github.com/repos/akihiro190/chat-space/subscribers","subscription_url":"https://api.github.com/repos/akihiro190/chat-space/subscription","commits_url":"https://api.github.com/repos/akihiro190/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/akihiro190/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/akihiro190/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/akihiro190/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/akihiro190/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/akihiro190/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akihiro190/chat-space/merges","archive_url":"https://api.github.com/repos/akihiro190/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akihiro190/chat-space/downloads","issues_url":"https://api.github.com/repos/akihiro190/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/akihiro190/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/akihiro190/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/akihiro190/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akihiro190/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/akihiro190/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/akihiro190/chat-space/deployments","created_at":"2018-11-27T04:03:37Z","updated_at":"2018-12-11T06:54:43Z","pushed_at":"2018-12-12T10:42:03Z","git_url":"git://github.com/akihiro190/chat-space.git","ssh_url":"git@github.com:akihiro190/chat-space.git","clone_url":"https://github.com/akihiro190/chat-space.git","svn_url":"https://github.com/akihiro190/chat-space","homepage":null,"size":108,"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/akihiro190/chat-space/pulls/11"},"html":{"href":"https://github.com/akihiro190/chat-space/pull/11"},"issue":{"href":"https://api.github.com/repos/akihiro190/chat-space/issues/11"},"comments":{"href":"https://api.github.com/repos/akihiro190/chat-space/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/akihiro190/chat-space/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/akihiro190/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akihiro190/chat-space/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/akihiro190/chat-space/statuses/01b22563eaa48c6e3f0f0d4d4aea6353728ba5c5"}},"author_association":"OWNER"}}
{"actor":{"display_login":"akihiro190"}}