{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/tms_12/pulls/comments/24386892","id":24386892,"diff_hunk":"@@ -0,0 +1,24 @@\n+class Course < ActiveRecord::Base\n+  has_many :enrollments, class_name: \"Enrollment\",","path":"app/models/course.rb","position":2,"original_position":2,"commit_id":"f5811b36c36f4fbe0db5c29ae354b05675199321","original_commit_id":"f5811b36c36f4fbe0db5c29ae354b05675199321","user":{"login":"dieunb","id":2122175,"avatar_url":"https://avatars.githubusercontent.com/u/2122175?v=3","gravatar_id":"","url":"https://api.github.com/users/dieunb","html_url":"https://github.com/dieunb","followers_url":"https://api.github.com/users/dieunb/followers","following_url":"https://api.github.com/users/dieunb/following{/other_user}","gists_url":"https://api.github.com/users/dieunb/gists{/gist_id}","starred_url":"https://api.github.com/users/dieunb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieunb/subscriptions","organizations_url":"https://api.github.com/users/dieunb/orgs","repos_url":"https://api.github.com/users/dieunb/repos","events_url":"https://api.github.com/users/dieunb/events{/privacy}","received_events_url":"https://api.github.com/users/dieunb/received_events","type":"User","site_admin":false},"body":"use `'` instead of `\"`","created_at":"2015-02-10T03:29:12Z","updated_at":"2015-02-10T03:29:12Z","html_url":"https://github.com/framgia/tms_12/pull/16#discussion_r24386892","pull_request_url":"https://api.github.com/repos/framgia/tms_12/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_12/pulls/comments/24386892"},"html":{"href":"https://github.com/framgia/tms_12/pull/16#discussion_r24386892"},"pull_request":{"href":"https://api.github.com/repos/framgia/tms_12/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/tms_12/pulls/16","id":28974868,"html_url":"https://github.com/framgia/tms_12/pull/16","diff_url":"https://github.com/framgia/tms_12/pull/16.diff","patch_url":"https://github.com/framgia/tms_12/pull/16.patch","issue_url":"https://api.github.com/repos/framgia/tms_12/issues/16","number":16,"state":"open","locked":false,"title":"Create course","user":{"login":"NguyenHai2310","id":10148843,"avatar_url":"https://avatars.githubusercontent.com/u/10148843?v=3","gravatar_id":"","url":"https://api.github.com/users/NguyenHai2310","html_url":"https://github.com/NguyenHai2310","followers_url":"https://api.github.com/users/NguyenHai2310/followers","following_url":"https://api.github.com/users/NguyenHai2310/following{/other_user}","gists_url":"https://api.github.com/users/NguyenHai2310/gists{/gist_id}","starred_url":"https://api.github.com/users/NguyenHai2310/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NguyenHai2310/subscriptions","organizations_url":"https://api.github.com/users/NguyenHai2310/orgs","repos_url":"https://api.github.com/users/NguyenHai2310/repos","events_url":"https://api.github.com/users/NguyenHai2310/events{/privacy}","received_events_url":"https://api.github.com/users/NguyenHai2310/received_events","type":"User","site_admin":false},"body":"create-edit course","created_at":"2015-02-10T01:57:57Z","updated_at":"2015-02-10T03:29:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"215e9746cfb94493b02272c0f425d19af1fcbf42","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/tms_12/pulls/16/commits","review_comments_url":"https://api.github.com/repos/framgia/tms_12/pulls/16/comments","review_comment_url":"https://api.github.com/repos/framgia/tms_12/pulls/comments/{number}","comments_url":"https://api.github.com/repos/framgia/tms_12/issues/16/comments","statuses_url":"https://api.github.com/repos/framgia/tms_12/statuses/f5811b36c36f4fbe0db5c29ae354b05675199321","head":{"label":"NguyenHai2310:Create-course","ref":"Create-course","sha":"f5811b36c36f4fbe0db5c29ae354b05675199321","user":{"login":"NguyenHai2310","id":10148843,"avatar_url":"https://avatars.githubusercontent.com/u/10148843?v=3","gravatar_id":"","url":"https://api.github.com/users/NguyenHai2310","html_url":"https://github.com/NguyenHai2310","followers_url":"https://api.github.com/users/NguyenHai2310/followers","following_url":"https://api.github.com/users/NguyenHai2310/following{/other_user}","gists_url":"https://api.github.com/users/NguyenHai2310/gists{/gist_id}","starred_url":"https://api.github.com/users/NguyenHai2310/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NguyenHai2310/subscriptions","organizations_url":"https://api.github.com/users/NguyenHai2310/orgs","repos_url":"https://api.github.com/users/NguyenHai2310/repos","events_url":"https://api.github.com/users/NguyenHai2310/events{/privacy}","received_events_url":"https://api.github.com/users/NguyenHai2310/received_events","type":"User","site_admin":false},"repo":{"id":29851433,"name":"tms_12","full_name":"NguyenHai2310/tms_12","owner":{"login":"NguyenHai2310","id":10148843,"avatar_url":"https://avatars.githubusercontent.com/u/10148843?v=3","gravatar_id":"","url":"https://api.github.com/users/NguyenHai2310","html_url":"https://github.com/NguyenHai2310","followers_url":"https://api.github.com/users/NguyenHai2310/followers","following_url":"https://api.github.com/users/NguyenHai2310/following{/other_user}","gists_url":"https://api.github.com/users/NguyenHai2310/gists{/gist_id}","starred_url":"https://api.github.com/users/NguyenHai2310/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NguyenHai2310/subscriptions","organizations_url":"https://api.github.com/users/NguyenHai2310/orgs","repos_url":"https://api.github.com/users/NguyenHai2310/repos","events_url":"https://api.github.com/users/NguyenHai2310/events{/privacy}","received_events_url":"https://api.github.com/users/NguyenHai2310/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NguyenHai2310/tms_12","description":"Framgia Training Management System (training)","fork":true,"url":"https://api.github.com/repos/NguyenHai2310/tms_12","forks_url":"https://api.github.com/repos/NguyenHai2310/tms_12/forks","keys_url":"https://api.github.com/repos/NguyenHai2310/tms_12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NguyenHai2310/tms_12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NguyenHai2310/tms_12/teams","hooks_url":"https://api.github.com/repos/NguyenHai2310/tms_12/hooks","issue_events_url":"https://api.github.com/repos/NguyenHai2310/tms_12/issues/events{/number}","events_url":"https://api.github.com/repos/NguyenHai2310/tms_12/events","assignees_url":"https://api.github.com/repos/NguyenHai2310/tms_12/assignees{/user}","branches_url":"https://api.github.com/repos/NguyenHai2310/tms_12/branches{/branch}","tags_url":"https://api.github.com/repos/NguyenHai2310/tms_12/tags","blobs_url":"https://api.github.com/repos/NguyenHai2310/tms_12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NguyenHai2310/tms_12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NguyenHai2310/tms_12/git/refs{/sha}","trees_url":"https://api.github.com/repos/NguyenHai2310/tms_12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NguyenHai2310/tms_12/statuses/{sha}","languages_url":"https://api.github.com/repos/NguyenHai2310/tms_12/languages","stargazers_url":"https://api.github.com/repos/NguyenHai2310/tms_12/stargazers","contributors_url":"https://api.github.com/repos/NguyenHai2310/tms_12/contributors","subscribers_url":"https://api.github.com/repos/NguyenHai2310/tms_12/subscribers","subscription_url":"https://api.github.com/repos/NguyenHai2310/tms_12/subscription","commits_url":"https://api.github.com/repos/NguyenHai2310/tms_12/commits{/sha}","git_commits_url":"https://api.github.com/repos/NguyenHai2310/tms_12/git/commits{/sha}","comments_url":"https://api.github.com/repos/NguyenHai2310/tms_12/comments{/number}","issue_comment_url":"https://api.github.com/repos/NguyenHai2310/tms_12/issues/comments/{number}","contents_url":"https://api.github.com/repos/NguyenHai2310/tms_12/contents/{+path}","compare_url":"https://api.github.com/repos/NguyenHai2310/tms_12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NguyenHai2310/tms_12/merges","archive_url":"https://api.github.com/repos/NguyenHai2310/tms_12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NguyenHai2310/tms_12/downloads","issues_url":"https://api.github.com/repos/NguyenHai2310/tms_12/issues{/number}","pulls_url":"https://api.github.com/repos/NguyenHai2310/tms_12/pulls{/number}","milestones_url":"https://api.github.com/repos/NguyenHai2310/tms_12/milestones{/number}","notifications_url":"https://api.github.com/repos/NguyenHai2310/tms_12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NguyenHai2310/tms_12/labels{/name}","releases_url":"https://api.github.com/repos/NguyenHai2310/tms_12/releases{/id}","created_at":"2015-01-26T08:13:56Z","updated_at":"2015-01-26T01:58:13Z","pushed_at":"2015-02-10T03:05:16Z","git_url":"git://github.com/NguyenHai2310/tms_12.git","ssh_url":"git@github.com:NguyenHai2310/tms_12.git","clone_url":"https://github.com/NguyenHai2310/tms_12.git","svn_url":"https://github.com/NguyenHai2310/tms_12","homepage":null,"size":177,"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":"aeee3867f90f12d1211e5c600fdb739ce8fef6a2","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":29840551,"name":"tms_12","full_name":"framgia/tms_12","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_12","description":"Framgia Training Management System (training)","fork":false,"url":"https://api.github.com/repos/framgia/tms_12","forks_url":"https://api.github.com/repos/framgia/tms_12/forks","keys_url":"https://api.github.com/repos/framgia/tms_12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/tms_12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/tms_12/teams","hooks_url":"https://api.github.com/repos/framgia/tms_12/hooks","issue_events_url":"https://api.github.com/repos/framgia/tms_12/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/tms_12/events","assignees_url":"https://api.github.com/repos/framgia/tms_12/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/tms_12/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/tms_12/tags","blobs_url":"https://api.github.com/repos/framgia/tms_12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/tms_12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/tms_12/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/tms_12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/tms_12/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/tms_12/languages","stargazers_url":"https://api.github.com/repos/framgia/tms_12/stargazers","contributors_url":"https://api.github.com/repos/framgia/tms_12/contributors","subscribers_url":"https://api.github.com/repos/framgia/tms_12/subscribers","subscription_url":"https://api.github.com/repos/framgia/tms_12/subscription","commits_url":"https://api.github.com/repos/framgia/tms_12/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/tms_12/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/tms_12/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/tms_12/issues/comments/{number}","contents_url":"https://api.github.com/repos/framgia/tms_12/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/tms_12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/tms_12/merges","archive_url":"https://api.github.com/repos/framgia/tms_12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/tms_12/downloads","issues_url":"https://api.github.com/repos/framgia/tms_12/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/tms_12/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/tms_12/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/tms_12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/tms_12/labels{/name}","releases_url":"https://api.github.com/repos/framgia/tms_12/releases{/id}","created_at":"2015-01-26T01:58:13Z","updated_at":"2015-01-26T01:58:13Z","pushed_at":"2015-02-07T09:03:19Z","git_url":"git://github.com/framgia/tms_12.git","ssh_url":"git@github.com:framgia/tms_12.git","clone_url":"https://github.com/framgia/tms_12.git","svn_url":"https://github.com/framgia/tms_12","homepage":null,"size":383,"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":4,"forks":3,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/tms_12/pulls/16"},"html":{"href":"https://github.com/framgia/tms_12/pull/16"},"issue":{"href":"https://api.github.com/repos/framgia/tms_12/issues/16"},"comments":{"href":"https://api.github.com/repos/framgia/tms_12/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/tms_12/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/tms_12/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/framgia/tms_12/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/tms_12/statuses/f5811b36c36f4fbe0db5c29ae354b05675199321"}}}}