{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fts_80/pulls/comments/143405663","pull_request_review_id":67911174,"id":143405663,"diff_hunk":"@@ -6,7 +6,9 @@ def index\n     @subjects = Subject.all\n   end\n \n-  def show; end\n+  def show\n+    @chapters = Chapter.where(subject_id: @subject.id)","path":"app/controllers/subjects_controller.rb","position":6,"original_position":6,"commit_id":"69d495c67ded2e737f436fb7c00138ecc72d6d48","original_commit_id":"69d495c67ded2e737f436fb7c00138ecc72d6d48","user":{"login":"sangnuce","id":12852873,"avatar_url":"https://avatars3.githubusercontent.com/u/12852873?v=4","gravatar_id":"","url":"https://api.github.com/users/sangnuce","html_url":"https://github.com/sangnuce","followers_url":"https://api.github.com/users/sangnuce/followers","following_url":"https://api.github.com/users/sangnuce/following{/other_user}","gists_url":"https://api.github.com/users/sangnuce/gists{/gist_id}","starred_url":"https://api.github.com/users/sangnuce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangnuce/subscriptions","organizations_url":"https://api.github.com/users/sangnuce/orgs","repos_url":"https://api.github.com/users/sangnuce/repos","events_url":"https://api.github.com/users/sangnuce/events{/privacy}","received_events_url":"https://api.github.com/users/sangnuce/received_events","type":"User","site_admin":false},"body":"association nè","created_at":"2017-10-09T08:22:16Z","updated_at":"2017-10-09T08:26:21Z","html_url":"https://github.com/framgia/fts_80/pull/8#discussion_r143405663","pull_request_url":"https://api.github.com/repos/framgia/fts_80/pulls/8","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/framgia/fts_80/pulls/comments/143405663"},"html":{"href":"https://github.com/framgia/fts_80/pull/8#discussion_r143405663"},"pull_request":{"href":"https://api.github.com/repos/framgia/fts_80/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fts_80/pulls/8","id":145366841,"html_url":"https://github.com/framgia/fts_80/pull/8","diff_url":"https://github.com/framgia/fts_80/pull/8.diff","patch_url":"https://github.com/framgia/fts_80/pull/8.patch","issue_url":"https://api.github.com/repos/framgia/fts_80/issues/8","number":8,"state":"open","locked":false,"title":"create chapter","user":{"login":"taylqse04184","id":26616318,"avatar_url":"https://avatars2.githubusercontent.com/u/26616318?v=4","gravatar_id":"","url":"https://api.github.com/users/taylqse04184","html_url":"https://github.com/taylqse04184","followers_url":"https://api.github.com/users/taylqse04184/followers","following_url":"https://api.github.com/users/taylqse04184/following{/other_user}","gists_url":"https://api.github.com/users/taylqse04184/gists{/gist_id}","starred_url":"https://api.github.com/users/taylqse04184/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylqse04184/subscriptions","organizations_url":"https://api.github.com/users/taylqse04184/orgs","repos_url":"https://api.github.com/users/taylqse04184/repos","events_url":"https://api.github.com/users/taylqse04184/events{/privacy}","received_events_url":"https://api.github.com/users/taylqse04184/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-10-09T02:38:09Z","updated_at":"2017-10-09T08:26:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"31862dd30d63c7c8211c96a97614008dec1d677a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fts_80/pulls/8/commits","review_comments_url":"https://api.github.com/repos/framgia/fts_80/pulls/8/comments","review_comment_url":"https://api.github.com/repos/framgia/fts_80/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fts_80/issues/8/comments","statuses_url":"https://api.github.com/repos/framgia/fts_80/statuses/69d495c67ded2e737f436fb7c00138ecc72d6d48","head":{"label":"taylqse04184:add-chapter","ref":"add-chapter","sha":"69d495c67ded2e737f436fb7c00138ecc72d6d48","user":{"login":"taylqse04184","id":26616318,"avatar_url":"https://avatars2.githubusercontent.com/u/26616318?v=4","gravatar_id":"","url":"https://api.github.com/users/taylqse04184","html_url":"https://github.com/taylqse04184","followers_url":"https://api.github.com/users/taylqse04184/followers","following_url":"https://api.github.com/users/taylqse04184/following{/other_user}","gists_url":"https://api.github.com/users/taylqse04184/gists{/gist_id}","starred_url":"https://api.github.com/users/taylqse04184/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylqse04184/subscriptions","organizations_url":"https://api.github.com/users/taylqse04184/orgs","repos_url":"https://api.github.com/users/taylqse04184/repos","events_url":"https://api.github.com/users/taylqse04184/events{/privacy}","received_events_url":"https://api.github.com/users/taylqse04184/received_events","type":"User","site_admin":false},"repo":{"id":105214054,"name":"fts_80","full_name":"taylqse04184/fts_80","owner":{"login":"taylqse04184","id":26616318,"avatar_url":"https://avatars2.githubusercontent.com/u/26616318?v=4","gravatar_id":"","url":"https://api.github.com/users/taylqse04184","html_url":"https://github.com/taylqse04184","followers_url":"https://api.github.com/users/taylqse04184/followers","following_url":"https://api.github.com/users/taylqse04184/following{/other_user}","gists_url":"https://api.github.com/users/taylqse04184/gists{/gist_id}","starred_url":"https://api.github.com/users/taylqse04184/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylqse04184/subscriptions","organizations_url":"https://api.github.com/users/taylqse04184/orgs","repos_url":"https://api.github.com/users/taylqse04184/repos","events_url":"https://api.github.com/users/taylqse04184/events{/privacy}","received_events_url":"https://api.github.com/users/taylqse04184/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taylqse04184/fts_80","description":"Framgia Test System (training)","fork":true,"url":"https://api.github.com/repos/taylqse04184/fts_80","forks_url":"https://api.github.com/repos/taylqse04184/fts_80/forks","keys_url":"https://api.github.com/repos/taylqse04184/fts_80/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taylqse04184/fts_80/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taylqse04184/fts_80/teams","hooks_url":"https://api.github.com/repos/taylqse04184/fts_80/hooks","issue_events_url":"https://api.github.com/repos/taylqse04184/fts_80/issues/events{/number}","events_url":"https://api.github.com/repos/taylqse04184/fts_80/events","assignees_url":"https://api.github.com/repos/taylqse04184/fts_80/assignees{/user}","branches_url":"https://api.github.com/repos/taylqse04184/fts_80/branches{/branch}","tags_url":"https://api.github.com/repos/taylqse04184/fts_80/tags","blobs_url":"https://api.github.com/repos/taylqse04184/fts_80/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taylqse04184/fts_80/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taylqse04184/fts_80/git/refs{/sha}","trees_url":"https://api.github.com/repos/taylqse04184/fts_80/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taylqse04184/fts_80/statuses/{sha}","languages_url":"https://api.github.com/repos/taylqse04184/fts_80/languages","stargazers_url":"https://api.github.com/repos/taylqse04184/fts_80/stargazers","contributors_url":"https://api.github.com/repos/taylqse04184/fts_80/contributors","subscribers_url":"https://api.github.com/repos/taylqse04184/fts_80/subscribers","subscription_url":"https://api.github.com/repos/taylqse04184/fts_80/subscription","commits_url":"https://api.github.com/repos/taylqse04184/fts_80/commits{/sha}","git_commits_url":"https://api.github.com/repos/taylqse04184/fts_80/git/commits{/sha}","comments_url":"https://api.github.com/repos/taylqse04184/fts_80/comments{/number}","issue_comment_url":"https://api.github.com/repos/taylqse04184/fts_80/issues/comments{/number}","contents_url":"https://api.github.com/repos/taylqse04184/fts_80/contents/{+path}","compare_url":"https://api.github.com/repos/taylqse04184/fts_80/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taylqse04184/fts_80/merges","archive_url":"https://api.github.com/repos/taylqse04184/fts_80/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taylqse04184/fts_80/downloads","issues_url":"https://api.github.com/repos/taylqse04184/fts_80/issues{/number}","pulls_url":"https://api.github.com/repos/taylqse04184/fts_80/pulls{/number}","milestones_url":"https://api.github.com/repos/taylqse04184/fts_80/milestones{/number}","notifications_url":"https://api.github.com/repos/taylqse04184/fts_80/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taylqse04184/fts_80/labels{/name}","releases_url":"https://api.github.com/repos/taylqse04184/fts_80/releases{/id}","deployments_url":"https://api.github.com/repos/taylqse04184/fts_80/deployments","created_at":"2017-09-29T01:03:11Z","updated_at":"2017-09-28T08:43:46Z","pushed_at":"2017-10-09T07:16:58Z","git_url":"git://github.com/taylqse04184/fts_80.git","ssh_url":"git@github.com:taylqse04184/fts_80.git","clone_url":"https://github.com/taylqse04184/fts_80.git","svn_url":"https://github.com/taylqse04184/fts_80","homepage":null,"size":79,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"e77f34a432d3026e14d8c1aecff61c0252b1bc6f","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","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":105124207,"name":"fts_80","full_name":"framgia/fts_80","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars3.githubusercontent.com/u/2322183?v=4","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/fts_80","description":"Framgia Test System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fts_80","forks_url":"https://api.github.com/repos/framgia/fts_80/forks","keys_url":"https://api.github.com/repos/framgia/fts_80/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fts_80/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fts_80/teams","hooks_url":"https://api.github.com/repos/framgia/fts_80/hooks","issue_events_url":"https://api.github.com/repos/framgia/fts_80/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fts_80/events","assignees_url":"https://api.github.com/repos/framgia/fts_80/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fts_80/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fts_80/tags","blobs_url":"https://api.github.com/repos/framgia/fts_80/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fts_80/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fts_80/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fts_80/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fts_80/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fts_80/languages","stargazers_url":"https://api.github.com/repos/framgia/fts_80/stargazers","contributors_url":"https://api.github.com/repos/framgia/fts_80/contributors","subscribers_url":"https://api.github.com/repos/framgia/fts_80/subscribers","subscription_url":"https://api.github.com/repos/framgia/fts_80/subscription","commits_url":"https://api.github.com/repos/framgia/fts_80/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fts_80/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fts_80/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fts_80/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fts_80/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fts_80/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fts_80/merges","archive_url":"https://api.github.com/repos/framgia/fts_80/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fts_80/downloads","issues_url":"https://api.github.com/repos/framgia/fts_80/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fts_80/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fts_80/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fts_80/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fts_80/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fts_80/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fts_80/deployments","created_at":"2017-09-28T08:43:46Z","updated_at":"2017-09-28T08:43:46Z","pushed_at":"2017-10-09T07:17:00Z","git_url":"git://github.com/framgia/fts_80.git","ssh_url":"git@github.com:framgia/fts_80.git","clone_url":"https://github.com/framgia/fts_80.git","svn_url":"https://github.com/framgia/fts_80","homepage":null,"size":73,"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":15,"mirror_url":null,"open_issues_count":1,"forks":15,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fts_80/pulls/8"},"html":{"href":"https://github.com/framgia/fts_80/pull/8"},"issue":{"href":"https://api.github.com/repos/framgia/fts_80/issues/8"},"comments":{"href":"https://api.github.com/repos/framgia/fts_80/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fts_80/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fts_80/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fts_80/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fts_80/statuses/69d495c67ded2e737f436fb7c00138ecc72d6d48"}},"author_association":"NONE"}}
{"actor":{"display_login":"sangnuce"}}