{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_45/pulls/comments/49561105","id":49561105,"diff_hunk":"@@ -0,0 +1,2 @@\n+class Subject < ActiveRecord::Base\n+end","path":"app/models/subject.rb","position":2,"original_position":2,"commit_id":"a1aa90bb5cead06beac0a1b5f5c2f2c140788b9c","original_commit_id":"a1aa90bb5cead06beac0a1b5f5c2f2c140788b9c","user":{"login":"NeverSmileK57CLC","id":10071629,"avatar_url":"https://avatars.githubusercontent.com/u/10071629?v=3","gravatar_id":"","url":"https://api.github.com/users/NeverSmileK57CLC","html_url":"https://github.com/NeverSmileK57CLC","followers_url":"https://api.github.com/users/NeverSmileK57CLC/followers","following_url":"https://api.github.com/users/NeverSmileK57CLC/following{/other_user}","gists_url":"https://api.github.com/users/NeverSmileK57CLC/gists{/gist_id}","starred_url":"https://api.github.com/users/NeverSmileK57CLC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeverSmileK57CLC/subscriptions","organizations_url":"https://api.github.com/users/NeverSmileK57CLC/orgs","repos_url":"https://api.github.com/users/NeverSmileK57CLC/repos","events_url":"https://api.github.com/users/NeverSmileK57CLC/events{/privacy}","received_events_url":"https://api.github.com/users/NeverSmileK57CLC/received_events","type":"User","site_admin":false},"body":"thiếu ràng buộc:\r\nhas_many :user_subjects\r\nhas_many :subject_courses\r\nhas_many :tasks","created_at":"2016-01-13T08:16:50Z","updated_at":"2016-01-13T08:16:50Z","html_url":"https://github.com/framgia/tms_45/pull/7#discussion_r49561105","pull_request_url":"https://api.github.com/repos/framgia/tms_45/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_45/pulls/comments/49561105"},"html":{"href":"https://github.com/framgia/tms_45/pull/7#discussion_r49561105"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_45/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_45/pulls/7","id":55865821,"html_url":"https://github.com/framgia/tms_45/pull/7","diff_url":"https://github.com/framgia/tms_45/pull/7.diff","patch_url":"https://github.com/framgia/tms_45/pull/7.patch","issue_url":"https://api.github.com/repos/framgia/tms_45/issues/7","number":7,"state":"open","locked":false,"title":"init model","user":{"login":"ggbond2605","id":13365455,"avatar_url":"https://avatars.githubusercontent.com/u/13365455?v=3","gravatar_id":"","url":"https://api.github.com/users/ggbond2605","html_url":"https://github.com/ggbond2605","followers_url":"https://api.github.com/users/ggbond2605/followers","following_url":"https://api.github.com/users/ggbond2605/following{/other_user}","gists_url":"https://api.github.com/users/ggbond2605/gists{/gist_id}","starred_url":"https://api.github.com/users/ggbond2605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggbond2605/subscriptions","organizations_url":"https://api.github.com/users/ggbond2605/orgs","repos_url":"https://api.github.com/users/ggbond2605/repos","events_url":"https://api.github.com/users/ggbond2605/events{/privacy}","received_events_url":"https://api.github.com/users/ggbond2605/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-13T08:12:03Z","updated_at":"2016-01-13T08:16:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f26a4d73d0ec519f534eb8ddc9b96214a7e96c6f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_45/pulls/7/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_45/pulls/7/comments","review_comment_url":"https://api.github.com/repos/framgia/tms_45/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/tms_45/issues/7/comments","statuses_url":"https://api.github.com/repos/framgia/tms_45/statuses/a1aa90bb5cead06beac0a1b5f5c2f2c140788b9c","head":{"label":"ggbond2605:init-model","ref":"init-model","sha":"a1aa90bb5cead06beac0a1b5f5c2f2c140788b9c","user":{"login":"ggbond2605","id":13365455,"avatar_url":"https://avatars.githubusercontent.com/u/13365455?v=3","gravatar_id":"","url":"https://api.github.com/users/ggbond2605","html_url":"https://github.com/ggbond2605","followers_url":"https://api.github.com/users/ggbond2605/followers","following_url":"https://api.github.com/users/ggbond2605/following{/other_user}","gists_url":"https://api.github.com/users/ggbond2605/gists{/gist_id}","starred_url":"https://api.github.com/users/ggbond2605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggbond2605/subscriptions","organizations_url":"https://api.github.com/users/ggbond2605/orgs","repos_url":"https://api.github.com/users/ggbond2605/repos","events_url":"https://api.github.com/users/ggbond2605/events{/privacy}","received_events_url":"https://api.github.com/users/ggbond2605/received_events","type":"User","site_admin":false},"repo":{"id":49481363,"name":"tms_45","full_name":"ggbond2605/tms_45","owner":{"login":"ggbond2605","id":13365455,"avatar_url":"https://avatars.githubusercontent.com/u/13365455?v=3","gravatar_id":"","url":"https://api.github.com/users/ggbond2605","html_url":"https://github.com/ggbond2605","followers_url":"https://api.github.com/users/ggbond2605/followers","following_url":"https://api.github.com/users/ggbond2605/following{/other_user}","gists_url":"https://api.github.com/users/ggbond2605/gists{/gist_id}","starred_url":"https://api.github.com/users/ggbond2605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggbond2605/subscriptions","organizations_url":"https://api.github.com/users/ggbond2605/orgs","repos_url":"https://api.github.com/users/ggbond2605/repos","events_url":"https://api.github.com/users/ggbond2605/events{/privacy}","received_events_url":"https://api.github.com/users/ggbond2605/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ggbond2605/tms_45","description":"Framgia Training Management System (training)","fork":true,"url":"https://api.github.com/repos/ggbond2605/tms_45","forks_url":"https://api.github.com/repos/ggbond2605/tms_45/forks","keys_url":"https://api.github.com/repos/ggbond2605/tms_45/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ggbond2605/tms_45/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ggbond2605/tms_45/teams","hooks_url":"https://api.github.com/repos/ggbond2605/tms_45/hooks","issue_events_url":"https://api.github.com/repos/ggbond2605/tms_45/issues/events{/number}","events_url":"https://api.github.com/repos/ggbond2605/tms_45/events","assignees_url":"https://api.github.com/repos/ggbond2605/tms_45/assignees{/user}","branches_url":"https://api.github.com/repos/ggbond2605/tms_45/branches{/branch}","tags_url":"https://api.github.com/repos/ggbond2605/tms_45/tags","blobs_url":"https://api.github.com/repos/ggbond2605/tms_45/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ggbond2605/tms_45/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ggbond2605/tms_45/git/refs{/sha}","trees_url":"https://api.github.com/repos/ggbond2605/tms_45/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ggbond2605/tms_45/statuses/{sha}","languages_url":"https://api.github.com/repos/ggbond2605/tms_45/languages","stargazers_url":"https://api.github.com/repos/ggbond2605/tms_45/stargazers","contributors_url":"https://api.github.com/repos/ggbond2605/tms_45/contributors","subscribers_url":"https://api.github.com/repos/ggbond2605/tms_45/subscribers","subscription_url":"https://api.github.com/repos/ggbond2605/tms_45/subscription","commits_url":"https://api.github.com/repos/ggbond2605/tms_45/commits{/sha}","git_commits_url":"https://api.github.com/repos/ggbond2605/tms_45/git/commits{/sha}","comments_url":"https://api.github.com/repos/ggbond2605/tms_45/comments{/number}","issue_comment_url":"https://api.github.com/repos/ggbond2605/tms_45/issues/comments{/number}","contents_url":"https://api.github.com/repos/ggbond2605/tms_45/contents/{+path}","compare_url":"https://api.github.com/repos/ggbond2605/tms_45/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ggbond2605/tms_45/merges","archive_url":"https://api.github.com/repos/ggbond2605/tms_45/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ggbond2605/tms_45/downloads","issues_url":"https://api.github.com/repos/ggbond2605/tms_45/issues{/number}","pulls_url":"https://api.github.com/repos/ggbond2605/tms_45/pulls{/number}","milestones_url":"https://api.github.com/repos/ggbond2605/tms_45/milestones{/number}","notifications_url":"https://api.github.com/repos/ggbond2605/tms_45/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ggbond2605/tms_45/labels{/name}","releases_url":"https://api.github.com/repos/ggbond2605/tms_45/releases{/id}","created_at":"2016-01-12T06:58:04Z","updated_at":"2016-01-12T02:21:47Z","pushed_at":"2016-01-13T08:10:59Z","git_url":"git://github.com/ggbond2605/tms_45.git","ssh_url":"git@github.com:ggbond2605/tms_45.git","clone_url":"https://github.com/ggbond2605/tms_45.git","svn_url":"https://github.com/ggbond2605/tms_45","homepage":null,"size":26,"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":"33bc5fb0606e93cee64fe1dd8be26a91c9ef81d7","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":49468864,"name":"tms_45","full_name":"framgia/tms_45","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_45","description":"Framgia Training Management System (training)","fork":false,"url":"https://api.github.com/repos/framgia/tms_45","forks_url":"https://api.github.com/repos/framgia/tms_45/forks","keys_url":"https://api.github.com/repos/framgia/tms_45/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/tms_45/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/tms_45/teams","hooks_url":"https://api.github.com/repos/framgia/tms_45/hooks","issue_events_url":"https://api.github.com/repos/framgia/tms_45/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/tms_45/events","assignees_url":"https://api.github.com/repos/framgia/tms_45/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/tms_45/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/tms_45/tags","blobs_url":"https://api.github.com/repos/framgia/tms_45/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/tms_45/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/tms_45/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/tms_45/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/tms_45/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/tms_45/languages","stargazers_url":"https://api.github.com/repos/framgia/tms_45/stargazers","contributors_url":"https://api.github.com/repos/framgia/tms_45/contributors","subscribers_url":"https://api.github.com/repos/framgia/tms_45/subscribers","subscription_url":"https://api.github.com/repos/framgia/tms_45/subscription","commits_url":"https://api.github.com/repos/framgia/tms_45/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/tms_45/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/tms_45/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/tms_45/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/tms_45/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/tms_45/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/tms_45/merges","archive_url":"https://api.github.com/repos/framgia/tms_45/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/tms_45/downloads","issues_url":"https://api.github.com/repos/framgia/tms_45/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/tms_45/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/tms_45/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/tms_45/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/tms_45/labels{/name}","releases_url":"https://api.github.com/repos/framgia/tms_45/releases{/id}","created_at":"2016-01-12T02:21:47Z","updated_at":"2016-01-12T02:21:47Z","pushed_at":"2016-01-13T08:12:04Z","git_url":"git://github.com/framgia/tms_45.git","ssh_url":"git@github.com:framgia/tms_45.git","clone_url":"https://github.com/framgia/tms_45.git","svn_url":"https://github.com/framgia/tms_45","homepage":null,"size":30,"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":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_45/pulls/7"},"html":{"href":"https://github.com/framgia/tms_45/pull/7"},"issue":{"href":"https://api.github.com/repos/framgia/tms_45/issues/7"},"comments":{"href":"https://api.github.com/repos/framgia/tms_45/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_45/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/tms_45/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/tms_45/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_45/statuses/a1aa90bb5cead06beac0a1b5f5c2f2c140788b9c"}}}}