{"action":"created","comment":{"url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/pulls/comments/202718486","pull_request_review_id":137470102,"id":202718486,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjcxODQ4Ng==","diff_hunk":"@@ -13,6 +13,24 @@ def create_lessionlog\n     end\n   end\n \n+  def update_result questionlogs\n+    @questionlog_ids = questionlogs.keys\n+    @total = @questionlog_ids.count\n+    @correct = 0","path":"app/models/lession_log.rb","position":7,"original_position":7,"commit_id":"7a60ecebcae4f1305a0ecce76f26435f855966fb","original_commit_id":"7a60ecebcae4f1305a0ecce76f26435f855966fb","user":{"login":"thanhhungchu95","id":8967163,"node_id":"MDQ6VXNlcjg5NjcxNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/8967163?v=4","gravatar_id":"","url":"https://api.github.com/users/thanhhungchu95","html_url":"https://github.com/thanhhungchu95","followers_url":"https://api.github.com/users/thanhhungchu95/followers","following_url":"https://api.github.com/users/thanhhungchu95/following{/other_user}","gists_url":"https://api.github.com/users/thanhhungchu95/gists{/gist_id}","starred_url":"https://api.github.com/users/thanhhungchu95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thanhhungchu95/subscriptions","organizations_url":"https://api.github.com/users/thanhhungchu95/orgs","repos_url":"https://api.github.com/users/thanhhungchu95/repos","events_url":"https://api.github.com/users/thanhhungchu95/events{/privacy}","received_events_url":"https://api.github.com/users/thanhhungchu95/received_events","type":"User","site_admin":false},"body":"đưa 0 vào settings","created_at":"2018-07-16T15:08:12Z","updated_at":"2018-07-16T15:09:50Z","html_url":"https://github.com/tatdat97dhbkhn/e_learning/pull/17#discussion_r202718486","pull_request_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/pulls/17","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/pulls/comments/202718486"},"html":{"href":"https://github.com/tatdat97dhbkhn/e_learning/pull/17#discussion_r202718486"},"pull_request":{"href":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/pulls/17","id":201659962,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNjU5OTYy","html_url":"https://github.com/tatdat97dhbkhn/e_learning/pull/17","diff_url":"https://github.com/tatdat97dhbkhn/e_learning/pull/17.diff","patch_url":"https://github.com/tatdat97dhbkhn/e_learning/pull/17.patch","issue_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/issues/17","number":17,"state":"open","locked":false,"title":"update results","user":{"login":"ThuyNguyen97","id":40467918,"node_id":"MDQ6VXNlcjQwNDY3OTE4","avatar_url":"https://avatars1.githubusercontent.com/u/40467918?v=4","gravatar_id":"","url":"https://api.github.com/users/ThuyNguyen97","html_url":"https://github.com/ThuyNguyen97","followers_url":"https://api.github.com/users/ThuyNguyen97/followers","following_url":"https://api.github.com/users/ThuyNguyen97/following{/other_user}","gists_url":"https://api.github.com/users/ThuyNguyen97/gists{/gist_id}","starred_url":"https://api.github.com/users/ThuyNguyen97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThuyNguyen97/subscriptions","organizations_url":"https://api.github.com/users/ThuyNguyen97/orgs","repos_url":"https://api.github.com/users/ThuyNguyen97/repos","events_url":"https://api.github.com/users/ThuyNguyen97/events{/privacy}","received_events_url":"https://api.github.com/users/ThuyNguyen97/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-16T14:42:13Z","updated_at":"2018-07-16T15:09:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af0ed95a3a96759e990a17ef7ce48fee9a0cc21f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/pulls/17/commits","review_comments_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/pulls/17/comments","review_comment_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/issues/17/comments","statuses_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/statuses/7a60ecebcae4f1305a0ecce76f26435f855966fb","head":{"label":"ThuyNguyen97:update_result","ref":"update_result","sha":"7a60ecebcae4f1305a0ecce76f26435f855966fb","user":{"login":"ThuyNguyen97","id":40467918,"node_id":"MDQ6VXNlcjQwNDY3OTE4","avatar_url":"https://avatars1.githubusercontent.com/u/40467918?v=4","gravatar_id":"","url":"https://api.github.com/users/ThuyNguyen97","html_url":"https://github.com/ThuyNguyen97","followers_url":"https://api.github.com/users/ThuyNguyen97/followers","following_url":"https://api.github.com/users/ThuyNguyen97/following{/other_user}","gists_url":"https://api.github.com/users/ThuyNguyen97/gists{/gist_id}","starred_url":"https://api.github.com/users/ThuyNguyen97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThuyNguyen97/subscriptions","organizations_url":"https://api.github.com/users/ThuyNguyen97/orgs","repos_url":"https://api.github.com/users/ThuyNguyen97/repos","events_url":"https://api.github.com/users/ThuyNguyen97/events{/privacy}","received_events_url":"https://api.github.com/users/ThuyNguyen97/received_events","type":"User","site_admin":false},"repo":{"id":140520923,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA1MjA5MjM=","name":"e_learning","full_name":"ThuyNguyen97/e_learning","owner":{"login":"ThuyNguyen97","id":40467918,"node_id":"MDQ6VXNlcjQwNDY3OTE4","avatar_url":"https://avatars1.githubusercontent.com/u/40467918?v=4","gravatar_id":"","url":"https://api.github.com/users/ThuyNguyen97","html_url":"https://github.com/ThuyNguyen97","followers_url":"https://api.github.com/users/ThuyNguyen97/followers","following_url":"https://api.github.com/users/ThuyNguyen97/following{/other_user}","gists_url":"https://api.github.com/users/ThuyNguyen97/gists{/gist_id}","starred_url":"https://api.github.com/users/ThuyNguyen97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThuyNguyen97/subscriptions","organizations_url":"https://api.github.com/users/ThuyNguyen97/orgs","repos_url":"https://api.github.com/users/ThuyNguyen97/repos","events_url":"https://api.github.com/users/ThuyNguyen97/events{/privacy}","received_events_url":"https://api.github.com/users/ThuyNguyen97/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ThuyNguyen97/e_learning","description":null,"fork":true,"url":"https://api.github.com/repos/ThuyNguyen97/e_learning","forks_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/forks","keys_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/teams","hooks_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/hooks","issue_events_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/issues/events{/number}","events_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/events","assignees_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/assignees{/user}","branches_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/branches{/branch}","tags_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/tags","blobs_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/git/refs{/sha}","trees_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/statuses/{sha}","languages_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/languages","stargazers_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/stargazers","contributors_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/contributors","subscribers_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/subscribers","subscription_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/subscription","commits_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/commits{/sha}","git_commits_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/git/commits{/sha}","comments_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/comments{/number}","issue_comment_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/issues/comments{/number}","contents_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/contents/{+path}","compare_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/merges","archive_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/downloads","issues_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/issues{/number}","pulls_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/pulls{/number}","milestones_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/milestones{/number}","notifications_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/labels{/name}","releases_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/releases{/id}","deployments_url":"https://api.github.com/repos/ThuyNguyen97/e_learning/deployments","created_at":"2018-07-11T04:20:19Z","updated_at":"2018-07-11T04:20:22Z","pushed_at":"2018-07-16T14:41:23Z","git_url":"git://github.com/ThuyNguyen97/e_learning.git","ssh_url":"git@github.com:ThuyNguyen97/e_learning.git","clone_url":"https://github.com/ThuyNguyen97/e_learning.git","svn_url":"https://github.com/ThuyNguyen97/e_learning","homepage":null,"size":479,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tatdat97dhbkhn:develop","ref":"develop","sha":"8c8264ba6209be17affc28845bbdc8ae48ffe138","user":{"login":"tatdat97dhbkhn","id":27503213,"node_id":"MDQ6VXNlcjI3NTAzMjEz","avatar_url":"https://avatars3.githubusercontent.com/u/27503213?v=4","gravatar_id":"","url":"https://api.github.com/users/tatdat97dhbkhn","html_url":"https://github.com/tatdat97dhbkhn","followers_url":"https://api.github.com/users/tatdat97dhbkhn/followers","following_url":"https://api.github.com/users/tatdat97dhbkhn/following{/other_user}","gists_url":"https://api.github.com/users/tatdat97dhbkhn/gists{/gist_id}","starred_url":"https://api.github.com/users/tatdat97dhbkhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatdat97dhbkhn/subscriptions","organizations_url":"https://api.github.com/users/tatdat97dhbkhn/orgs","repos_url":"https://api.github.com/users/tatdat97dhbkhn/repos","events_url":"https://api.github.com/users/tatdat97dhbkhn/events{/privacy}","received_events_url":"https://api.github.com/users/tatdat97dhbkhn/received_events","type":"User","site_admin":false},"repo":{"id":140511609,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA1MTE2MDk=","name":"e_learning","full_name":"tatdat97dhbkhn/e_learning","owner":{"login":"tatdat97dhbkhn","id":27503213,"node_id":"MDQ6VXNlcjI3NTAzMjEz","avatar_url":"https://avatars3.githubusercontent.com/u/27503213?v=4","gravatar_id":"","url":"https://api.github.com/users/tatdat97dhbkhn","html_url":"https://github.com/tatdat97dhbkhn","followers_url":"https://api.github.com/users/tatdat97dhbkhn/followers","following_url":"https://api.github.com/users/tatdat97dhbkhn/following{/other_user}","gists_url":"https://api.github.com/users/tatdat97dhbkhn/gists{/gist_id}","starred_url":"https://api.github.com/users/tatdat97dhbkhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatdat97dhbkhn/subscriptions","organizations_url":"https://api.github.com/users/tatdat97dhbkhn/orgs","repos_url":"https://api.github.com/users/tatdat97dhbkhn/repos","events_url":"https://api.github.com/users/tatdat97dhbkhn/events{/privacy}","received_events_url":"https://api.github.com/users/tatdat97dhbkhn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tatdat97dhbkhn/e_learning","description":null,"fork":false,"url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning","forks_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/forks","keys_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/teams","hooks_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/hooks","issue_events_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/issues/events{/number}","events_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/events","assignees_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/assignees{/user}","branches_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/branches{/branch}","tags_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/tags","blobs_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/git/refs{/sha}","trees_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/statuses/{sha}","languages_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/languages","stargazers_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/stargazers","contributors_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/contributors","subscribers_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/subscribers","subscription_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/subscription","commits_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/commits{/sha}","git_commits_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/git/commits{/sha}","comments_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/comments{/number}","issue_comment_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/issues/comments{/number}","contents_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/contents/{+path}","compare_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/merges","archive_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/downloads","issues_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/issues{/number}","pulls_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/pulls{/number}","milestones_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/milestones{/number}","notifications_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/labels{/name}","releases_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/releases{/id}","deployments_url":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/deployments","created_at":"2018-07-11T02:35:36Z","updated_at":"2018-07-11T02:36:26Z","pushed_at":"2018-07-16T14:42:13Z","git_url":"git://github.com/tatdat97dhbkhn/e_learning.git","ssh_url":"git@github.com:tatdat97dhbkhn/e_learning.git","clone_url":"https://github.com/tatdat97dhbkhn/e_learning.git","svn_url":"https://github.com/tatdat97dhbkhn/e_learning","homepage":null,"size":515,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/pulls/17"},"html":{"href":"https://github.com/tatdat97dhbkhn/e_learning/pull/17"},"issue":{"href":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/issues/17"},"comments":{"href":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/tatdat97dhbkhn/e_learning/statuses/7a60ecebcae4f1305a0ecce76f26435f855966fb"}},"author_association":"NONE"}}
{"actor":{"display_login":"thanhhungchu95"}}