{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/comments/68377325","id":68377325,"diff_hunk":"@@ -0,0 +1,14 @@\n+class SearchesController < ApplicationController\n+ def index\n+    @fetch_items = User.search params[:q]","path":"app/controllers/searches_controller.rb","position":3,"original_position":3,"commit_id":"db446a3c8ad4f3f7529827740b87b3540293d504","original_commit_id":"db446a3c8ad4f3f7529827740b87b3540293d504","user":{"login":"dieunb","id":2122175,"avatar_url":"https://avatars.githubusercontent.com/u/2122175?v=3","gravatar_id":"","url":"https://api.github.com/users/dieunb","html_url":"https://github.com/dieunb","followers_url":"https://api.github.com/users/dieunb/followers","following_url":"https://api.github.com/users/dieunb/following{/other_user}","gists_url":"https://api.github.com/users/dieunb/gists{/gist_id}","starred_url":"https://api.github.com/users/dieunb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieunb/subscriptions","organizations_url":"https://api.github.com/users/dieunb/orgs","repos_url":"https://api.github.com/users/dieunb/repos","events_url":"https://api.github.com/users/dieunb/events{/privacy}","received_events_url":"https://api.github.com/users/dieunb/received_events","type":"User","site_admin":false},"body":"```\r\n    @users = User.search params[:q]\r\n\r\n    render json: {\r\n      users: @user.map{|user| {email: user.id, id: user.id}}\r\n    }, status: :ok\r\n```","created_at":"2016-06-24T09:53:38Z","updated_at":"2016-06-24T09:53:38Z","html_url":"https://github.com/framgia/framgia_crb_v2/pull/215#discussion_r68377325","pull_request_url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/215","_links":{"self":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/comments/68377325"},"html":{"href":"https://github.com/framgia/framgia_crb_v2/pull/215#discussion_r68377325"},"pull_request":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/215"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/215","id":74946053,"html_url":"https://github.com/framgia/framgia_crb_v2/pull/215","diff_url":"https://github.com/framgia/framgia_crb_v2/pull/215.diff","patch_url":"https://github.com/framgia/framgia_crb_v2/pull/215.patch","issue_url":"https://api.github.com/repos/framgia/framgia_crb_v2/issues/215","number":215,"state":"open","locked":false,"title":"create new user when add attendee","user":{"login":"thanhtt","id":18318299,"avatar_url":"https://avatars.githubusercontent.com/u/18318299?v=3","gravatar_id":"","url":"https://api.github.com/users/thanhtt","html_url":"https://github.com/thanhtt","followers_url":"https://api.github.com/users/thanhtt/followers","following_url":"https://api.github.com/users/thanhtt/following{/other_user}","gists_url":"https://api.github.com/users/thanhtt/gists{/gist_id}","starred_url":"https://api.github.com/users/thanhtt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thanhtt/subscriptions","organizations_url":"https://api.github.com/users/thanhtt/orgs","repos_url":"https://api.github.com/users/thanhtt/repos","events_url":"https://api.github.com/users/thanhtt/events{/privacy}","received_events_url":"https://api.github.com/users/thanhtt/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-23T12:29:21Z","updated_at":"2016-06-24T09:53:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cbbcda46e5e864265efd0940f33a2638202e4bab","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/215/commits","review_comments_url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/215/comments","review_comment_url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/framgia_crb_v2/issues/215/comments","statuses_url":"https://api.github.com/repos/framgia/framgia_crb_v2/statuses/db446a3c8ad4f3f7529827740b87b3540293d504","head":{"label":"thanhtt:create_user_when_add_attendee","ref":"create_user_when_add_attendee","sha":"db446a3c8ad4f3f7529827740b87b3540293d504","user":{"login":"thanhtt","id":18318299,"avatar_url":"https://avatars.githubusercontent.com/u/18318299?v=3","gravatar_id":"","url":"https://api.github.com/users/thanhtt","html_url":"https://github.com/thanhtt","followers_url":"https://api.github.com/users/thanhtt/followers","following_url":"https://api.github.com/users/thanhtt/following{/other_user}","gists_url":"https://api.github.com/users/thanhtt/gists{/gist_id}","starred_url":"https://api.github.com/users/thanhtt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thanhtt/subscriptions","organizations_url":"https://api.github.com/users/thanhtt/orgs","repos_url":"https://api.github.com/users/thanhtt/repos","events_url":"https://api.github.com/users/thanhtt/events{/privacy}","received_events_url":"https://api.github.com/users/thanhtt/received_events","type":"User","site_admin":false},"repo":{"id":60512092,"name":"framgia_crb_v2","full_name":"thanhtt/framgia_crb_v2","owner":{"login":"thanhtt","id":18318299,"avatar_url":"https://avatars.githubusercontent.com/u/18318299?v=3","gravatar_id":"","url":"https://api.github.com/users/thanhtt","html_url":"https://github.com/thanhtt","followers_url":"https://api.github.com/users/thanhtt/followers","following_url":"https://api.github.com/users/thanhtt/following{/other_user}","gists_url":"https://api.github.com/users/thanhtt/gists{/gist_id}","starred_url":"https://api.github.com/users/thanhtt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thanhtt/subscriptions","organizations_url":"https://api.github.com/users/thanhtt/orgs","repos_url":"https://api.github.com/users/thanhtt/repos","events_url":"https://api.github.com/users/thanhtt/events{/privacy}","received_events_url":"https://api.github.com/users/thanhtt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thanhtt/framgia_crb_v2","description":"Conference Room Booking System","fork":true,"url":"https://api.github.com/repos/thanhtt/framgia_crb_v2","forks_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/forks","keys_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/teams","hooks_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/hooks","issue_events_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/issues/events{/number}","events_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/events","assignees_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/assignees{/user}","branches_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/branches{/branch}","tags_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/tags","blobs_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/statuses/{sha}","languages_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/languages","stargazers_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/stargazers","contributors_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/contributors","subscribers_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/subscribers","subscription_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/subscription","commits_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/contents/{+path}","compare_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/merges","archive_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/downloads","issues_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/issues{/number}","pulls_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/pulls{/number}","milestones_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/milestones{/number}","notifications_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/labels{/name}","releases_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/releases{/id}","deployments_url":"https://api.github.com/repos/thanhtt/framgia_crb_v2/deployments","created_at":"2016-06-06T08:35:49Z","updated_at":"2016-06-06T08:35:50Z","pushed_at":"2016-06-24T09:33:49Z","git_url":"git://github.com/thanhtt/framgia_crb_v2.git","ssh_url":"git@github.com:thanhtt/framgia_crb_v2.git","clone_url":"https://github.com/thanhtt/framgia_crb_v2.git","svn_url":"https://github.com/thanhtt/framgia_crb_v2","homepage":null,"size":913,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"8b5ce78648bff17c97f996691c8b3d91abd345fa","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":55657829,"name":"framgia_crb_v2","full_name":"framgia/framgia_crb_v2","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/framgia_crb_v2","description":"Conference Room Booking System","fork":false,"url":"https://api.github.com/repos/framgia/framgia_crb_v2","forks_url":"https://api.github.com/repos/framgia/framgia_crb_v2/forks","keys_url":"https://api.github.com/repos/framgia/framgia_crb_v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/framgia_crb_v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/framgia_crb_v2/teams","hooks_url":"https://api.github.com/repos/framgia/framgia_crb_v2/hooks","issue_events_url":"https://api.github.com/repos/framgia/framgia_crb_v2/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/framgia_crb_v2/events","assignees_url":"https://api.github.com/repos/framgia/framgia_crb_v2/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/framgia_crb_v2/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/framgia_crb_v2/tags","blobs_url":"https://api.github.com/repos/framgia/framgia_crb_v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/framgia_crb_v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/framgia_crb_v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/framgia_crb_v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/framgia_crb_v2/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/framgia_crb_v2/languages","stargazers_url":"https://api.github.com/repos/framgia/framgia_crb_v2/stargazers","contributors_url":"https://api.github.com/repos/framgia/framgia_crb_v2/contributors","subscribers_url":"https://api.github.com/repos/framgia/framgia_crb_v2/subscribers","subscription_url":"https://api.github.com/repos/framgia/framgia_crb_v2/subscription","commits_url":"https://api.github.com/repos/framgia/framgia_crb_v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/framgia_crb_v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/framgia_crb_v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/framgia_crb_v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/framgia_crb_v2/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/framgia_crb_v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/framgia_crb_v2/merges","archive_url":"https://api.github.com/repos/framgia/framgia_crb_v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/framgia_crb_v2/downloads","issues_url":"https://api.github.com/repos/framgia/framgia_crb_v2/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/framgia_crb_v2/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/framgia_crb_v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/framgia_crb_v2/labels{/name}","releases_url":"https://api.github.com/repos/framgia/framgia_crb_v2/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/framgia_crb_v2/deployments","created_at":"2016-04-07T02:42:19Z","updated_at":"2016-05-03T02:07:01Z","pushed_at":"2016-06-24T09:33:50Z","git_url":"git://github.com/framgia/framgia_crb_v2.git","ssh_url":"git@github.com:framgia/framgia_crb_v2.git","clone_url":"https://github.com/framgia/framgia_crb_v2.git","svn_url":"https://github.com/framgia/framgia_crb_v2","homepage":null,"size":1034,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":13,"forks":18,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/215"},"html":{"href":"https://github.com/framgia/framgia_crb_v2/pull/215"},"issue":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/issues/215"},"comments":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/framgia_crb_v2/statuses/db446a3c8ad4f3f7529827740b87b3540293d504"}}}}
{"actor":{"display_login":"dieunb"}}