payload: {"action":"created","comment":{"url":"https://api.github.com/repos/awesome-academy/ems_04/pulls/comments/332350675","pull_request_review_id":298552713,"id":332350675,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMzMjM1MDY3NQ==","diff_hunk":"@@ -16,6 +17,11 @@ class Question < ApplicationRecord\n \n   scope :load_by_subject, ->(subject_id){where subject_id: subject_id}\n   scope :lastest, ->{order created_at: :desc}\n+  scope :search_by_content, (lambda do |qs_content|","path":"app/models/question.rb","position":null,"original_position":12,"commit_id":"6c187e844313e7409aebba8f38df6a4500f0eb19","original_commit_id":"263f3dd73e072a471acc17d122d6c3e90bc7f078","user":{"login":"sangvv-0944","id":54126514,"node_id":"MDQ6VXNlcjU0MTI2NTE0","avatar_url":"https://avatars3.githubusercontent.com/u/54126514?v=4","gravatar_id":"","url":"https://api.github.com/users/sangvv-0944","html_url":"https://github.com/sangvv-0944","followers_url":"https://api.github.com/users/sangvv-0944/followers","following_url":"https://api.github.com/users/sangvv-0944/following{/other_user}","gists_url":"https://api.github.com/users/sangvv-0944/gists{/gist_id}","starred_url":"https://api.github.com/users/sangvv-0944/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangvv-0944/subscriptions","organizations_url":"https://api.github.com/users/sangvv-0944/orgs","repos_url":"https://api.github.com/users/sangvv-0944/repos","events_url":"https://api.github.com/users/sangvv-0944/events{/privacy}","received_events_url":"https://api.github.com/users/sangvv-0944/received_events","type":"User","site_admin":false},"body":"Em hiểu rồi ạ.","created_at":"2019-10-08T06:25:12Z","updated_at":"2019-10-08T06:25:12Z","html_url":"https://github.com/awesome-academy/ems_04/pull/17#discussion_r332350675","pull_request_url":"https://api.github.com/repos/awesome-academy/ems_04/pulls/17","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/awesome-academy/ems_04/pulls/comments/332350675"},"html":{"href":"https://github.com/awesome-academy/ems_04/pull/17#discussion_r332350675"},"pull_request":{"href":"https://api.github.com/repos/awesome-academy/ems_04/pulls/17"}},"in_reply_to_id":332316957},"pull_request":{"url":"https://api.github.com/repos/awesome-academy/ems_04/pulls/17","id":325376703,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI1Mzc2NzAz","html_url":"https://github.com/awesome-academy/ems_04/pull/17","diff_url":"https://github.com/awesome-academy/ems_04/pull/17.diff","patch_url":"https://github.com/awesome-academy/ems_04/pull/17.patch","issue_url":"https://api.github.com/repos/awesome-academy/ems_04/issues/17","number":17,"state":"open","locked":false,"title":"rpsec model all","user":{"login":"sangvv-0944","id":54126514,"node_id":"MDQ6VXNlcjU0MTI2NTE0","avatar_url":"https://avatars3.githubusercontent.com/u/54126514?v=4","gravatar_id":"","url":"https://api.github.com/users/sangvv-0944","html_url":"https://github.com/sangvv-0944","followers_url":"https://api.github.com/users/sangvv-0944/followers","following_url":"https://api.github.com/users/sangvv-0944/following{/other_user}","gists_url":"https://api.github.com/users/sangvv-0944/gists{/gist_id}","starred_url":"https://api.github.com/users/sangvv-0944/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangvv-0944/subscriptions","organizations_url":"https://api.github.com/users/sangvv-0944/orgs","repos_url":"https://api.github.com/users/sangvv-0944/repos","events_url":"https://api.github.com/users/sangvv-0944/events{/privacy}","received_events_url":"https://api.github.com/users/sangvv-0944/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-10-07T15:58:43Z","updated_at":"2019-10-08T06:25:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e56de2e34e1a47efb29ef88786c3c393dc3a7075","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/awesome-academy/ems_04/pulls/17/commits","review_comments_url":"https://api.github.com/repos/awesome-academy/ems_04/pulls/17/comments","review_comment_url":"https://api.github.com/repos/awesome-academy/ems_04/pulls/comments{/number}","comments_url":"https://api.github.com/repos/awesome-academy/ems_04/issues/17/comments","statuses_url":"https://api.github.com/repos/awesome-academy/ems_04/statuses/6c187e844313e7409aebba8f38df6a4500f0eb19","head":{"label":"sangvv-0944:rspec-model-all-test","ref":"rspec-model-all-test","sha":"6c187e844313e7409aebba8f38df6a4500f0eb19","user":{"login":"sangvv-0944","id":54126514,"node_id":"MDQ6VXNlcjU0MTI2NTE0","avatar_url":"https://avatars3.githubusercontent.com/u/54126514?v=4","gravatar_id":"","url":"https://api.github.com/users/sangvv-0944","html_url":"https://github.com/sangvv-0944","followers_url":"https://api.github.com/users/sangvv-0944/followers","following_url":"https://api.github.com/users/sangvv-0944/following{/other_user}","gists_url":"https://api.github.com/users/sangvv-0944/gists{/gist_id}","starred_url":"https://api.github.com/users/sangvv-0944/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangvv-0944/subscriptions","organizations_url":"https://api.github.com/users/sangvv-0944/orgs","repos_url":"https://api.github.com/users/sangvv-0944/repos","events_url":"https://api.github.com/users/sangvv-0944/events{/privacy}","received_events_url":"https://api.github.com/users/sangvv-0944/received_events","type":"User","site_admin":false},"repo":{"id":208949014,"node_id":"MDEwOlJlcG9zaXRvcnkyMDg5NDkwMTQ=","name":"ems_04","full_name":"sangvv-0944/ems_04","private":false,"owner":{"login":"sangvv-0944","id":54126514,"node_id":"MDQ6VXNlcjU0MTI2NTE0","avatar_url":"https://avatars3.githubusercontent.com/u/54126514?v=4","gravatar_id":"","url":"https://api.github.com/users/sangvv-0944","html_url":"https://github.com/sangvv-0944","followers_url":"https://api.github.com/users/sangvv-0944/followers","following_url":"https://api.github.com/users/sangvv-0944/following{/other_user}","gists_url":"https://api.github.com/users/sangvv-0944/gists{/gist_id}","starred_url":"https://api.github.com/users/sangvv-0944/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangvv-0944/subscriptions","organizations_url":"https://api.github.com/users/sangvv-0944/orgs","repos_url":"https://api.github.com/users/sangvv-0944/repos","events_url":"https://api.github.com/users/sangvv-0944/events{/privacy}","received_events_url":"https://api.github.com/users/sangvv-0944/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sangvv-0944/ems_04","description":null,"fork":true,"url":"https://api.github.com/repos/sangvv-0944/ems_04","forks_url":"https://api.github.com/repos/sangvv-0944/ems_04/forks","keys_url":"https://api.github.com/repos/sangvv-0944/ems_04/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sangvv-0944/ems_04/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sangvv-0944/ems_04/teams","hooks_url":"https://api.github.com/repos/sangvv-0944/ems_04/hooks","issue_events_url":"https://api.github.com/repos/sangvv-0944/ems_04/issues/events{/number}","events_url":"https://api.github.com/repos/sangvv-0944/ems_04/events","assignees_url":"https://api.github.com/repos/sangvv-0944/ems_04/assignees{/user}","branches_url":"https://api.github.com/repos/sangvv-0944/ems_04/branches{/branch}","tags_url":"https://api.github.com/repos/sangvv-0944/ems_04/tags","blobs_url":"https://api.github.com/repos/sangvv-0944/ems_04/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sangvv-0944/ems_04/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sangvv-0944/ems_04/git/refs{/sha}","trees_url":"https://api.github.com/repos/sangvv-0944/ems_04/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sangvv-0944/ems_04/statuses/{sha}","languages_url":"https://api.github.com/repos/sangvv-0944/ems_04/languages","stargazers_url":"https://api.github.com/repos/sangvv-0944/ems_04/stargazers","contributors_url":"https://api.github.com/repos/sangvv-0944/ems_04/contributors","subscribers_url":"https://api.github.com/repos/sangvv-0944/ems_04/subscribers","subscription_url":"https://api.github.com/repos/sangvv-0944/ems_04/subscription","commits_url":"https://api.github.com/repos/sangvv-0944/ems_04/commits{/sha}","git_commits_url":"https://api.github.com/repos/sangvv-0944/ems_04/git/commits{/sha}","comments_url":"https://api.github.com/repos/sangvv-0944/ems_04/comments{/number}","issue_comment_url":"https://api.github.com/repos/sangvv-0944/ems_04/issues/comments{/number}","contents_url":"https://api.github.com/repos/sangvv-0944/ems_04/contents/{+path}","compare_url":"https://api.github.com/repos/sangvv-0944/ems_04/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sangvv-0944/ems_04/merges","archive_url":"https://api.github.com/repos/sangvv-0944/ems_04/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sangvv-0944/ems_04/downloads","issues_url":"https://api.github.com/repos/sangvv-0944/ems_04/issues{/number}","pulls_url":"https://api.github.com/repos/sangvv-0944/ems_04/pulls{/number}","milestones_url":"https://api.github.com/repos/sangvv-0944/ems_04/milestones{/number}","notifications_url":"https://api.github.com/repos/sangvv-0944/ems_04/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sangvv-0944/ems_04/labels{/name}","releases_url":"https://api.github.com/repos/sangvv-0944/ems_04/releases{/id}","deployments_url":"https://api.github.com/repos/sangvv-0944/ems_04/deployments","created_at":"2019-09-17T03:14:45Z","updated_at":"2019-09-17T04:37:03Z","pushed_at":"2019-10-08T06:18:09Z","git_url":"git://github.com/sangvv-0944/ems_04.git","ssh_url":"git@github.com:sangvv-0944/ems_04.git","clone_url":"https://github.com/sangvv-0944/ems_04.git","svn_url":"https://github.com/sangvv-0944/ems_04","homepage":null,"size":1584,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"awesome-academy:master","ref":"master","sha":"ba32841f323c7f9cfa54572f2a7473a3bfc4249f","user":{"login":"awesome-academy","id":33895223,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODk1MjIz","avatar_url":"https://avatars0.githubusercontent.com/u/33895223?v=4","gravatar_id":"","url":"https://api.github.com/users/awesome-academy","html_url":"https://github.com/awesome-academy","followers_url":"https://api.github.com/users/awesome-academy/followers","following_url":"https://api.github.com/users/awesome-academy/following{/other_user}","gists_url":"https://api.github.com/users/awesome-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/awesome-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesome-academy/subscriptions","organizations_url":"https://api.github.com/users/awesome-academy/orgs","repos_url":"https://api.github.com/users/awesome-academy/repos","events_url":"https://api.github.com/users/awesome-academy/events{/privacy}","received_events_url":"https://api.github.com/users/awesome-academy/received_events","type":"Organization","site_admin":false},"repo":{"id":207236042,"node_id":"MDEwOlJlcG9zaXRvcnkyMDcyMzYwNDI=","name":"ems_04","full_name":"awesome-academy/ems_04","private":false,"owner":{"login":"awesome-academy","id":33895223,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzODk1MjIz","avatar_url":"https://avatars0.githubusercontent.com/u/33895223?v=4","gravatar_id":"","url":"https://api.github.com/users/awesome-academy","html_url":"https://github.com/awesome-academy","followers_url":"https://api.github.com/users/awesome-academy/followers","following_url":"https://api.github.com/users/awesome-academy/following{/other_user}","gists_url":"https://api.github.com/users/awesome-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/awesome-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesome-academy/subscriptions","organizations_url":"https://api.github.com/users/awesome-academy/orgs","repos_url":"https://api.github.com/users/awesome-academy/repos","events_url":"https://api.github.com/users/awesome-academy/events{/privacy}","received_events_url":"https://api.github.com/users/awesome-academy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/awesome-academy/ems_04","description":null,"fork":false,"url":"https://api.github.com/repos/awesome-academy/ems_04","forks_url":"https://api.github.com/repos/awesome-academy/ems_04/forks","keys_url":"https://api.github.com/repos/awesome-academy/ems_04/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awesome-academy/ems_04/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awesome-academy/ems_04/teams","hooks_url":"https://api.github.com/repos/awesome-academy/ems_04/hooks","issue_events_url":"https://api.github.com/repos/awesome-academy/ems_04/issues/events{/number}","events_url":"https://api.github.com/repos/awesome-academy/ems_04/events","assignees_url":"https://api.github.com/repos/awesome-academy/ems_04/assignees{/user}","branches_url":"https://api.github.com/repos/awesome-academy/ems_04/branches{/branch}","tags_url":"https://api.github.com/repos/awesome-academy/ems_04/tags","blobs_url":"https://api.github.com/repos/awesome-academy/ems_04/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awesome-academy/ems_04/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awesome-academy/ems_04/git/refs{/sha}","trees_url":"https://api.github.com/repos/awesome-academy/ems_04/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awesome-academy/ems_04/statuses/{sha}","languages_url":"https://api.github.com/repos/awesome-academy/ems_04/languages","stargazers_url":"https://api.github.com/repos/awesome-academy/ems_04/stargazers","contributors_url":"https://api.github.com/repos/awesome-academy/ems_04/contributors","subscribers_url":"https://api.github.com/repos/awesome-academy/ems_04/subscribers","subscription_url":"https://api.github.com/repos/awesome-academy/ems_04/subscription","commits_url":"https://api.github.com/repos/awesome-academy/ems_04/commits{/sha}","git_commits_url":"https://api.github.com/repos/awesome-academy/ems_04/git/commits{/sha}","comments_url":"https://api.github.com/repos/awesome-academy/ems_04/comments{/number}","issue_comment_url":"https://api.github.com/repos/awesome-academy/ems_04/issues/comments{/number}","contents_url":"https://api.github.com/repos/awesome-academy/ems_04/contents/{+path}","compare_url":"https://api.github.com/repos/awesome-academy/ems_04/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awesome-academy/ems_04/merges","archive_url":"https://api.github.com/repos/awesome-academy/ems_04/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awesome-academy/ems_04/downloads","issues_url":"https://api.github.com/repos/awesome-academy/ems_04/issues{/number}","pulls_url":"https://api.github.com/repos/awesome-academy/ems_04/pulls{/number}","milestones_url":"https://api.github.com/repos/awesome-academy/ems_04/milestones{/number}","notifications_url":"https://api.github.com/repos/awesome-academy/ems_04/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awesome-academy/ems_04/labels{/name}","releases_url":"https://api.github.com/repos/awesome-academy/ems_04/releases{/id}","deployments_url":"https://api.github.com/repos/awesome-academy/ems_04/deployments","created_at":"2019-09-09T06:06:26Z","updated_at":"2019-10-08T01:18:34Z","pushed_at":"2019-10-08T06:18:11Z","git_url":"git://github.com/awesome-academy/ems_04.git","ssh_url":"git@github.com:awesome-academy/ems_04.git","clone_url":"https://github.com/awesome-academy/ems_04.git","svn_url":"https://github.com/awesome-academy/ems_04","homepage":null,"size":1454,"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":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/awesome-academy/ems_04/pulls/17"},"html":{"href":"https://github.com/awesome-academy/ems_04/pull/17"},"issue":{"href":"https://api.github.com/repos/awesome-academy/ems_04/issues/17"},"comments":{"href":"https://api.github.com/repos/awesome-academy/ems_04/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/awesome-academy/ems_04/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/awesome-academy/ems_04/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/awesome-academy/ems_04/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/awesome-academy/ems_04/statuses/6c187e844313e7409aebba8f38df6a4500f0eb19"}},"author_association":"NONE"}}
other: {"actor":{"display_login":"sangvv-0944"}}