{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_69/pulls/comments/84828941","pull_request_review_id":5580695,"id":84828941,"diff_hunk":"@@ -1,7 +1,7 @@\n class Subject < ApplicationRecord\n   has_many :exams\n-  has_many :levels\n-  has_many :suggest_questions\n+  has_many :levels, dependent: :destroy","path":"app/models/subject.rb","position":5,"original_position":5,"commit_id":"5b7bf02d8c6adfd67a3786ea1351e68ba748c959","original_commit_id":"5b7bf02d8c6adfd67a3786ea1351e68ba748c959","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ác subject khác nhau có các levels khác nhau hay sao ? ","created_at":"2016-10-25T04:23:41Z","updated_at":"2016-10-25T04:25:48Z","html_url":"https://github.com/framgia/tms_69/pull/14#discussion_r84828941","pull_request_url":"https://api.github.com/repos/framgia/tms_69/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_69/pulls/comments/84828941"},"html":{"href":"https://github.com/framgia/tms_69/pull/14#discussion_r84828941"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_69/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_69/pulls/14","id":90319296,"html_url":"https://github.com/framgia/tms_69/pull/14","diff_url":"https://github.com/framgia/tms_69/pull/14.diff","patch_url":"https://github.com/framgia/tms_69/pull/14.patch","issue_url":"https://api.github.com/repos/framgia/tms_69/issues/14","number":14,"state":"open","locked":false,"title":"User create Suggest questions","user":{"login":"KhanhMata","id":19420057,"avatar_url":"https://avatars.githubusercontent.com/u/19420057?v=3","gravatar_id":"","url":"https://api.github.com/users/KhanhMata","html_url":"https://github.com/KhanhMata","followers_url":"https://api.github.com/users/KhanhMata/followers","following_url":"https://api.github.com/users/KhanhMata/following{/other_user}","gists_url":"https://api.github.com/users/KhanhMata/gists{/gist_id}","starred_url":"https://api.github.com/users/KhanhMata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhanhMata/subscriptions","organizations_url":"https://api.github.com/users/KhanhMata/orgs","repos_url":"https://api.github.com/users/KhanhMata/repos","events_url":"https://api.github.com/users/KhanhMata/events{/privacy}","received_events_url":"https://api.github.com/users/KhanhMata/received_events","type":"User","site_admin":false},"body":"OK","created_at":"2016-10-21T03:54:13Z","updated_at":"2016-10-25T04:25:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67907a9fa1f6c56a0dda3f67c994943350c9a3a3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_69/pulls/14/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_69/pulls/14/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/14/comments","statuses_url":"https://api.github.com/repos/framgia/tms_69/statuses/5b7bf02d8c6adfd67a3786ea1351e68ba748c959","head":{"label":"KhanhMata:suggest-question","ref":"suggest-question","sha":"5b7bf02d8c6adfd67a3786ea1351e68ba748c959","user":{"login":"KhanhMata","id":19420057,"avatar_url":"https://avatars.githubusercontent.com/u/19420057?v=3","gravatar_id":"","url":"https://api.github.com/users/KhanhMata","html_url":"https://github.com/KhanhMata","followers_url":"https://api.github.com/users/KhanhMata/followers","following_url":"https://api.github.com/users/KhanhMata/following{/other_user}","gists_url":"https://api.github.com/users/KhanhMata/gists{/gist_id}","starred_url":"https://api.github.com/users/KhanhMata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhanhMata/subscriptions","organizations_url":"https://api.github.com/users/KhanhMata/orgs","repos_url":"https://api.github.com/users/KhanhMata/repos","events_url":"https://api.github.com/users/KhanhMata/events{/privacy}","received_events_url":"https://api.github.com/users/KhanhMata/received_events","type":"User","site_admin":false},"repo":{"id":71122291,"name":"tms_69","full_name":"KhanhMata/tms_69","owner":{"login":"KhanhMata","id":19420057,"avatar_url":"https://avatars.githubusercontent.com/u/19420057?v=3","gravatar_id":"","url":"https://api.github.com/users/KhanhMata","html_url":"https://github.com/KhanhMata","followers_url":"https://api.github.com/users/KhanhMata/followers","following_url":"https://api.github.com/users/KhanhMata/following{/other_user}","gists_url":"https://api.github.com/users/KhanhMata/gists{/gist_id}","starred_url":"https://api.github.com/users/KhanhMata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhanhMata/subscriptions","organizations_url":"https://api.github.com/users/KhanhMata/orgs","repos_url":"https://api.github.com/users/KhanhMata/repos","events_url":"https://api.github.com/users/KhanhMata/events{/privacy}","received_events_url":"https://api.github.com/users/KhanhMata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KhanhMata/tms_69","description":"Training Project - Framgia Edu DN","fork":true,"url":"https://api.github.com/repos/KhanhMata/tms_69","forks_url":"https://api.github.com/repos/KhanhMata/tms_69/forks","keys_url":"https://api.github.com/repos/KhanhMata/tms_69/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KhanhMata/tms_69/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KhanhMata/tms_69/teams","hooks_url":"https://api.github.com/repos/KhanhMata/tms_69/hooks","issue_events_url":"https://api.github.com/repos/KhanhMata/tms_69/issues/events{/number}","events_url":"https://api.github.com/repos/KhanhMata/tms_69/events","assignees_url":"https://api.github.com/repos/KhanhMata/tms_69/assignees{/user}","branches_url":"https://api.github.com/repos/KhanhMata/tms_69/branches{/branch}","tags_url":"https://api.github.com/repos/KhanhMata/tms_69/tags","blobs_url":"https://api.github.com/repos/KhanhMata/tms_69/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KhanhMata/tms_69/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KhanhMata/tms_69/git/refs{/sha}","trees_url":"https://api.github.com/repos/KhanhMata/tms_69/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KhanhMata/tms_69/statuses/{sha}","languages_url":"https://api.github.com/repos/KhanhMata/tms_69/languages","stargazers_url":"https://api.github.com/repos/KhanhMata/tms_69/stargazers","contributors_url":"https://api.github.com/repos/KhanhMata/tms_69/contributors","subscribers_url":"https://api.github.com/repos/KhanhMata/tms_69/subscribers","subscription_url":"https://api.github.com/repos/KhanhMata/tms_69/subscription","commits_url":"https://api.github.com/repos/KhanhMata/tms_69/commits{/sha}","git_commits_url":"https://api.github.com/repos/KhanhMata/tms_69/git/commits{/sha}","comments_url":"https://api.github.com/repos/KhanhMata/tms_69/comments{/number}","issue_comment_url":"https://api.github.com/repos/KhanhMata/tms_69/issues/comments{/number}","contents_url":"https://api.github.com/repos/KhanhMata/tms_69/contents/{+path}","compare_url":"https://api.github.com/repos/KhanhMata/tms_69/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KhanhMata/tms_69/merges","archive_url":"https://api.github.com/repos/KhanhMata/tms_69/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KhanhMata/tms_69/downloads","issues_url":"https://api.github.com/repos/KhanhMata/tms_69/issues{/number}","pulls_url":"https://api.github.com/repos/KhanhMata/tms_69/pulls{/number}","milestones_url":"https://api.github.com/repos/KhanhMata/tms_69/milestones{/number}","notifications_url":"https://api.github.com/repos/KhanhMata/tms_69/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KhanhMata/tms_69/labels{/name}","releases_url":"https://api.github.com/repos/KhanhMata/tms_69/releases{/id}","deployments_url":"https://api.github.com/repos/KhanhMata/tms_69/deployments","created_at":"2016-10-17T09:35:45Z","updated_at":"2016-10-17T07:42:22Z","pushed_at":"2016-10-25T04:04:43Z","git_url":"git://github.com/KhanhMata/tms_69.git","ssh_url":"git@github.com:KhanhMata/tms_69.git","clone_url":"https://github.com/KhanhMata/tms_69.git","svn_url":"https://github.com/KhanhMata/tms_69","homepage":null,"size":3644,"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":"295ea8759512de621fc2ba96e186689e791f5bcb","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-25T04:04:44Z","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":3671,"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/14"},"html":{"href":"https://github.com/framgia/tms_69/pull/14"},"issue":{"href":"https://api.github.com/repos/framgia/tms_69/issues/14"},"comments":{"href":"https://api.github.com/repos/framgia/tms_69/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_69/pulls/14/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/14/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_69/statuses/5b7bf02d8c6adfd67a3786ea1351e68ba748c959"}}}}
{"actor":{"display_login":"nvtanh"}}