{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_69/pulls/comments/84615097","pull_request_review_id":5381293,"id":84615097,"diff_hunk":"@@ -2,4 +2,8 @@ class Level < ApplicationRecord\n   belongs_to :subject\n \n   has_many :questions\n+  validates :question_number, presence: true,\n+    numericality: { only_integer: true, greater_than_or_equal_to: 0}","path":"app/models/level.rb","position":5,"original_position":5,"commit_id":"dae8de717352ca4038e89d3b696f0a54dda367ac","original_commit_id":"dae8de717352ca4038e89d3b696f0a54dda367ac","user":{"login":"phamvanbk11","id":10772245,"avatar_url":"https://avatars.githubusercontent.com/u/10772245?v=3","gravatar_id":"","url":"https://api.github.com/users/phamvanbk11","html_url":"https://github.com/phamvanbk11","followers_url":"https://api.github.com/users/phamvanbk11/followers","following_url":"https://api.github.com/users/phamvanbk11/following{/other_user}","gists_url":"https://api.github.com/users/phamvanbk11/gists{/gist_id}","starred_url":"https://api.github.com/users/phamvanbk11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phamvanbk11/subscriptions","organizations_url":"https://api.github.com/users/phamvanbk11/orgs","repos_url":"https://api.github.com/users/phamvanbk11/repos","events_url":"https://api.github.com/users/phamvanbk11/events{/privacy}","received_events_url":"https://api.github.com/users/phamvanbk11/received_events","type":"User","site_admin":false},"body":"{only_integer: true, greater_than_or_equal_to: 0}\r\n","created_at":"2016-10-24T02:50:07Z","updated_at":"2016-10-24T02:50:52Z","html_url":"https://github.com/framgia/tms_69/pull/19#discussion_r84615097","pull_request_url":"https://api.github.com/repos/framgia/tms_69/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_69/pulls/comments/84615097"},"html":{"href":"https://github.com/framgia/tms_69/pull/19#discussion_r84615097"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_69/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_69/pulls/19","id":90487129,"html_url":"https://github.com/framgia/tms_69/pull/19","diff_url":"https://github.com/framgia/tms_69/pull/19.diff","patch_url":"https://github.com/framgia/tms_69/pull/19.patch","issue_url":"https://api.github.com/repos/framgia/tms_69/issues/19","number":19,"state":"open","locked":false,"title":"Create/delete level","user":{"login":"nguyenroot","id":22046809,"avatar_url":"https://avatars.githubusercontent.com/u/22046809?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenroot","html_url":"https://github.com/nguyenroot","followers_url":"https://api.github.com/users/nguyenroot/followers","following_url":"https://api.github.com/users/nguyenroot/following{/other_user}","gists_url":"https://api.github.com/users/nguyenroot/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenroot/subscriptions","organizations_url":"https://api.github.com/users/nguyenroot/orgs","repos_url":"https://api.github.com/users/nguyenroot/repos","events_url":"https://api.github.com/users/nguyenroot/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenroot/received_events","type":"User","site_admin":false},"body":"OK","created_at":"2016-10-22T16:26:43Z","updated_at":"2016-10-24T02:50:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2536491146e0f80481cee6d346acab7255e7eb4f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_69/pulls/19/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_69/pulls/19/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/19/comments","statuses_url":"https://api.github.com/repos/framgia/tms_69/statuses/dae8de717352ca4038e89d3b696f0a54dda367ac","head":{"label":"nguyenroot:Create/delete_level","ref":"Create/delete_level","sha":"dae8de717352ca4038e89d3b696f0a54dda367ac","user":{"login":"nguyenroot","id":22046809,"avatar_url":"https://avatars.githubusercontent.com/u/22046809?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenroot","html_url":"https://github.com/nguyenroot","followers_url":"https://api.github.com/users/nguyenroot/followers","following_url":"https://api.github.com/users/nguyenroot/following{/other_user}","gists_url":"https://api.github.com/users/nguyenroot/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenroot/subscriptions","organizations_url":"https://api.github.com/users/nguyenroot/orgs","repos_url":"https://api.github.com/users/nguyenroot/repos","events_url":"https://api.github.com/users/nguyenroot/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenroot/received_events","type":"User","site_admin":false},"repo":{"id":71199175,"name":"tms_69","full_name":"nguyenroot/tms_69","owner":{"login":"nguyenroot","id":22046809,"avatar_url":"https://avatars.githubusercontent.com/u/22046809?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenroot","html_url":"https://github.com/nguyenroot","followers_url":"https://api.github.com/users/nguyenroot/followers","following_url":"https://api.github.com/users/nguyenroot/following{/other_user}","gists_url":"https://api.github.com/users/nguyenroot/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenroot/subscriptions","organizations_url":"https://api.github.com/users/nguyenroot/orgs","repos_url":"https://api.github.com/users/nguyenroot/repos","events_url":"https://api.github.com/users/nguyenroot/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenroot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nguyenroot/tms_69","description":"Training Project - Framgia Edu DN","fork":true,"url":"https://api.github.com/repos/nguyenroot/tms_69","forks_url":"https://api.github.com/repos/nguyenroot/tms_69/forks","keys_url":"https://api.github.com/repos/nguyenroot/tms_69/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nguyenroot/tms_69/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nguyenroot/tms_69/teams","hooks_url":"https://api.github.com/repos/nguyenroot/tms_69/hooks","issue_events_url":"https://api.github.com/repos/nguyenroot/tms_69/issues/events{/number}","events_url":"https://api.github.com/repos/nguyenroot/tms_69/events","assignees_url":"https://api.github.com/repos/nguyenroot/tms_69/assignees{/user}","branches_url":"https://api.github.com/repos/nguyenroot/tms_69/branches{/branch}","tags_url":"https://api.github.com/repos/nguyenroot/tms_69/tags","blobs_url":"https://api.github.com/repos/nguyenroot/tms_69/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nguyenroot/tms_69/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nguyenroot/tms_69/git/refs{/sha}","trees_url":"https://api.github.com/repos/nguyenroot/tms_69/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nguyenroot/tms_69/statuses/{sha}","languages_url":"https://api.github.com/repos/nguyenroot/tms_69/languages","stargazers_url":"https://api.github.com/repos/nguyenroot/tms_69/stargazers","contributors_url":"https://api.github.com/repos/nguyenroot/tms_69/contributors","subscribers_url":"https://api.github.com/repos/nguyenroot/tms_69/subscribers","subscription_url":"https://api.github.com/repos/nguyenroot/tms_69/subscription","commits_url":"https://api.github.com/repos/nguyenroot/tms_69/commits{/sha}","git_commits_url":"https://api.github.com/repos/nguyenroot/tms_69/git/commits{/sha}","comments_url":"https://api.github.com/repos/nguyenroot/tms_69/comments{/number}","issue_comment_url":"https://api.github.com/repos/nguyenroot/tms_69/issues/comments{/number}","contents_url":"https://api.github.com/repos/nguyenroot/tms_69/contents/{+path}","compare_url":"https://api.github.com/repos/nguyenroot/tms_69/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nguyenroot/tms_69/merges","archive_url":"https://api.github.com/repos/nguyenroot/tms_69/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nguyenroot/tms_69/downloads","issues_url":"https://api.github.com/repos/nguyenroot/tms_69/issues{/number}","pulls_url":"https://api.github.com/repos/nguyenroot/tms_69/pulls{/number}","milestones_url":"https://api.github.com/repos/nguyenroot/tms_69/milestones{/number}","notifications_url":"https://api.github.com/repos/nguyenroot/tms_69/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nguyenroot/tms_69/labels{/name}","releases_url":"https://api.github.com/repos/nguyenroot/tms_69/releases{/id}","deployments_url":"https://api.github.com/repos/nguyenroot/tms_69/deployments","created_at":"2016-10-18T02:05:31Z","updated_at":"2016-10-17T07:42:22Z","pushed_at":"2016-10-23T04:15:14Z","git_url":"git://github.com/nguyenroot/tms_69.git","ssh_url":"git@github.com:nguyenroot/tms_69.git","clone_url":"https://github.com/nguyenroot/tms_69.git","svn_url":"https://github.com/nguyenroot/tms_69","homepage":null,"size":3596,"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":"2d7be506c6b2725dcd321a856b15a36acd84edb1","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-23T18:30:47Z","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":3599,"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":6,"forks":3,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_69/pulls/19"},"html":{"href":"https://github.com/framgia/tms_69/pull/19"},"issue":{"href":"https://api.github.com/repos/framgia/tms_69/issues/19"},"comments":{"href":"https://api.github.com/repos/framgia/tms_69/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_69/pulls/19/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/19/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_69/statuses/dae8de717352ca4038e89d3b696f0a54dda367ac"}}}}
{"actor":{"display_login":"phamvanbk11"}}