{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_69/pulls/comments/85282710","pull_request_review_id":6006432,"id":85282710,"diff_hunk":"@@ -1,4 +1,6 @@\n class ExamAnswer < ApplicationRecord\n   belongs_to :exam_question\n   belongs_to :answer\n+\n+  scope :correct, ->{where answers: {is_correct: true}}","path":"app/models/exam_answer.rb","position":5,"original_position":5,"commit_id":"bb3219d1f59995d3a4edc1352e145f148fa04f47","original_commit_id":"bb3219d1f59995d3a4edc1352e145f148fa04f47","user":{"login":"nvtanh","id":5591946,"avatar_url":"https://avatars.githubusercontent.com/u/5591946?v=3","gravatar_id":"","url":"https://api.github.com/users/nvtanh","html_url":"https://github.com/nvtanh","followers_url":"https://api.github.com/users/nvtanh/followers","following_url":"https://api.github.com/users/nvtanh/following{/other_user}","gists_url":"https://api.github.com/users/nvtanh/gists{/gist_id}","starred_url":"https://api.github.com/users/nvtanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvtanh/subscriptions","organizations_url":"https://api.github.com/users/nvtanh/orgs","repos_url":"https://api.github.com/users/nvtanh/repos","events_url":"https://api.github.com/users/nvtanh/events{/privacy}","received_events_url":"https://api.github.com/users/nvtanh/received_events","type":"User","site_admin":false},"body":"có correct ở answer rồi tại sao cần cái này ? ","created_at":"2016-10-27T07:47:09Z","updated_at":"2016-10-27T07:47:09Z","html_url":"https://github.com/framgia/tms_69/pull/32#discussion_r85282710","pull_request_url":"https://api.github.com/repos/framgia/tms_69/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_69/pulls/comments/85282710"},"html":{"href":"https://github.com/framgia/tms_69/pull/32#discussion_r85282710"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_69/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_69/pulls/32","id":91130073,"html_url":"https://github.com/framgia/tms_69/pull/32","diff_url":"https://github.com/framgia/tms_69/pull/32.diff","patch_url":"https://github.com/framgia/tms_69/pull/32.patch","issue_url":"https://api.github.com/repos/framgia/tms_69/issues/32","number":32,"state":"open","locked":false,"title":"Admin check exams","user":{"login":"nhathanh1920","id":18419241,"avatar_url":"https://avatars.githubusercontent.com/u/18419241?v=3","gravatar_id":"","url":"https://api.github.com/users/nhathanh1920","html_url":"https://github.com/nhathanh1920","followers_url":"https://api.github.com/users/nhathanh1920/followers","following_url":"https://api.github.com/users/nhathanh1920/following{/other_user}","gists_url":"https://api.github.com/users/nhathanh1920/gists{/gist_id}","starred_url":"https://api.github.com/users/nhathanh1920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhathanh1920/subscriptions","organizations_url":"https://api.github.com/users/nhathanh1920/orgs","repos_url":"https://api.github.com/users/nhathanh1920/repos","events_url":"https://api.github.com/users/nhathanh1920/events{/privacy}","received_events_url":"https://api.github.com/users/nhathanh1920/received_events","type":"User","site_admin":false},"body":"ok","created_at":"2016-10-27T04:05:29Z","updated_at":"2016-10-27T07:48:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"503fe5a0020d598759eadb2072e328cdd32859bd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_69/pulls/32/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_69/pulls/32/comments","review_comment_url":"https://api.github.com/repos/framgia/tms_69/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/tms_69/issues/32/comments","statuses_url":"https://api.github.com/repos/framgia/tms_69/statuses/bb3219d1f59995d3a4edc1352e145f148fa04f47","head":{"label":"nhathanh1920:admin-check-exam","ref":"admin-check-exam","sha":"bb3219d1f59995d3a4edc1352e145f148fa04f47","user":{"login":"nhathanh1920","id":18419241,"avatar_url":"https://avatars.githubusercontent.com/u/18419241?v=3","gravatar_id":"","url":"https://api.github.com/users/nhathanh1920","html_url":"https://github.com/nhathanh1920","followers_url":"https://api.github.com/users/nhathanh1920/followers","following_url":"https://api.github.com/users/nhathanh1920/following{/other_user}","gists_url":"https://api.github.com/users/nhathanh1920/gists{/gist_id}","starred_url":"https://api.github.com/users/nhathanh1920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhathanh1920/subscriptions","organizations_url":"https://api.github.com/users/nhathanh1920/orgs","repos_url":"https://api.github.com/users/nhathanh1920/repos","events_url":"https://api.github.com/users/nhathanh1920/events{/privacy}","received_events_url":"https://api.github.com/users/nhathanh1920/received_events","type":"User","site_admin":false},"repo":{"id":71123060,"name":"tms_69","full_name":"nhathanh1920/tms_69","owner":{"login":"nhathanh1920","id":18419241,"avatar_url":"https://avatars.githubusercontent.com/u/18419241?v=3","gravatar_id":"","url":"https://api.github.com/users/nhathanh1920","html_url":"https://github.com/nhathanh1920","followers_url":"https://api.github.com/users/nhathanh1920/followers","following_url":"https://api.github.com/users/nhathanh1920/following{/other_user}","gists_url":"https://api.github.com/users/nhathanh1920/gists{/gist_id}","starred_url":"https://api.github.com/users/nhathanh1920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhathanh1920/subscriptions","organizations_url":"https://api.github.com/users/nhathanh1920/orgs","repos_url":"https://api.github.com/users/nhathanh1920/repos","events_url":"https://api.github.com/users/nhathanh1920/events{/privacy}","received_events_url":"https://api.github.com/users/nhathanh1920/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nhathanh1920/tms_69","description":"Training Project - Framgia Edu DN","fork":true,"url":"https://api.github.com/repos/nhathanh1920/tms_69","forks_url":"https://api.github.com/repos/nhathanh1920/tms_69/forks","keys_url":"https://api.github.com/repos/nhathanh1920/tms_69/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhathanh1920/tms_69/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhathanh1920/tms_69/teams","hooks_url":"https://api.github.com/repos/nhathanh1920/tms_69/hooks","issue_events_url":"https://api.github.com/repos/nhathanh1920/tms_69/issues/events{/number}","events_url":"https://api.github.com/repos/nhathanh1920/tms_69/events","assignees_url":"https://api.github.com/repos/nhathanh1920/tms_69/assignees{/user}","branches_url":"https://api.github.com/repos/nhathanh1920/tms_69/branches{/branch}","tags_url":"https://api.github.com/repos/nhathanh1920/tms_69/tags","blobs_url":"https://api.github.com/repos/nhathanh1920/tms_69/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhathanh1920/tms_69/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhathanh1920/tms_69/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhathanh1920/tms_69/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhathanh1920/tms_69/statuses/{sha}","languages_url":"https://api.github.com/repos/nhathanh1920/tms_69/languages","stargazers_url":"https://api.github.com/repos/nhathanh1920/tms_69/stargazers","contributors_url":"https://api.github.com/repos/nhathanh1920/tms_69/contributors","subscribers_url":"https://api.github.com/repos/nhathanh1920/tms_69/subscribers","subscription_url":"https://api.github.com/repos/nhathanh1920/tms_69/subscription","commits_url":"https://api.github.com/repos/nhathanh1920/tms_69/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhathanh1920/tms_69/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhathanh1920/tms_69/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhathanh1920/tms_69/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhathanh1920/tms_69/contents/{+path}","compare_url":"https://api.github.com/repos/nhathanh1920/tms_69/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhathanh1920/tms_69/merges","archive_url":"https://api.github.com/repos/nhathanh1920/tms_69/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhathanh1920/tms_69/downloads","issues_url":"https://api.github.com/repos/nhathanh1920/tms_69/issues{/number}","pulls_url":"https://api.github.com/repos/nhathanh1920/tms_69/pulls{/number}","milestones_url":"https://api.github.com/repos/nhathanh1920/tms_69/milestones{/number}","notifications_url":"https://api.github.com/repos/nhathanh1920/tms_69/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhathanh1920/tms_69/labels{/name}","releases_url":"https://api.github.com/repos/nhathanh1920/tms_69/releases{/id}","deployments_url":"https://api.github.com/repos/nhathanh1920/tms_69/deployments","created_at":"2016-10-17T09:44:40Z","updated_at":"2016-10-17T07:42:22Z","pushed_at":"2016-10-27T07:21:57Z","git_url":"git://github.com/nhathanh1920/tms_69.git","ssh_url":"git@github.com:nhathanh1920/tms_69.git","clone_url":"https://github.com/nhathanh1920/tms_69.git","svn_url":"https://github.com/nhathanh1920/tms_69","homepage":null,"size":3689,"stargazers_count":0,"watchers_count":0,"language":null,"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":"a747f24624d5cc54fc3992f2a841fe238d894efc","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":71112464,"name":"tms_69","full_name":"framgia/tms_69","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/tms_69","description":"Training Project - Framgia Edu DN","fork":false,"url":"https://api.github.com/repos/framgia/tms_69","forks_url":"https://api.github.com/repos/framgia/tms_69/forks","keys_url":"https://api.github.com/repos/framgia/tms_69/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/tms_69/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/tms_69/teams","hooks_url":"https://api.github.com/repos/framgia/tms_69/hooks","issue_events_url":"https://api.github.com/repos/framgia/tms_69/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/tms_69/events","assignees_url":"https://api.github.com/repos/framgia/tms_69/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/tms_69/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/tms_69/tags","blobs_url":"https://api.github.com/repos/framgia/tms_69/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/tms_69/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/tms_69/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/tms_69/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/tms_69/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/tms_69/languages","stargazers_url":"https://api.github.com/repos/framgia/tms_69/stargazers","contributors_url":"https://api.github.com/repos/framgia/tms_69/contributors","subscribers_url":"https://api.github.com/repos/framgia/tms_69/subscribers","subscription_url":"https://api.github.com/repos/framgia/tms_69/subscription","commits_url":"https://api.github.com/repos/framgia/tms_69/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/tms_69/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/tms_69/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/tms_69/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/tms_69/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/tms_69/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/tms_69/merges","archive_url":"https://api.github.com/repos/framgia/tms_69/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/tms_69/downloads","issues_url":"https://api.github.com/repos/framgia/tms_69/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/tms_69/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/tms_69/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/tms_69/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/tms_69/labels{/name}","releases_url":"https://api.github.com/repos/framgia/tms_69/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/tms_69/deployments","created_at":"2016-10-17T07:42:22Z","updated_at":"2016-10-17T07:42:22Z","pushed_at":"2016-10-27T06:46:07Z","git_url":"git://github.com/framgia/tms_69.git","ssh_url":"git@github.com:framgia/tms_69.git","clone_url":"https://github.com/framgia/tms_69.git","svn_url":"https://github.com/framgia/tms_69","homepage":null,"size":3715,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_69/pulls/32"},"html":{"href":"https://github.com/framgia/tms_69/pull/32"},"issue":{"href":"https://api.github.com/repos/framgia/tms_69/issues/32"},"comments":{"href":"https://api.github.com/repos/framgia/tms_69/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_69/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/tms_69/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/tms_69/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_69/statuses/bb3219d1f59995d3a4edc1352e145f148fa04f47"}}}}
{"actor":{"display_login":"nvtanh"}}