{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fts_71/pulls/comments/86059036","pull_request_review_id":6736560,"id":86059036,"diff_hunk":"@@ -0,0 +1,7 @@\n+class Question < ApplicationRecord\n+  belongs_to :subject\n+\n+  has_many :answers, dependent: :destroy\n+  has_many :results, dependent: :destroy\n+  has_many :exams, dependent: :destroy, through: :results","path":"app/models/question.rb","position":6,"original_position":6,"commit_id":"9cbf5c094dd6a09d082a7fd019b14cd9bdb41fe5","original_commit_id":"9cbf5c094dd6a09d082a7fd019b14cd9bdb41fe5","user":{"login":"hellovietnam93","id":8023606,"avatar_url":"https://avatars.githubusercontent.com/u/8023606?v=3","gravatar_id":"","url":"https://api.github.com/users/hellovietnam93","html_url":"https://github.com/hellovietnam93","followers_url":"https://api.github.com/users/hellovietnam93/followers","following_url":"https://api.github.com/users/hellovietnam93/following{/other_user}","gists_url":"https://api.github.com/users/hellovietnam93/gists{/gist_id}","starred_url":"https://api.github.com/users/hellovietnam93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellovietnam93/subscriptions","organizations_url":"https://api.github.com/users/hellovietnam93/orgs","repos_url":"https://api.github.com/users/hellovietnam93/repos","events_url":"https://api.github.com/users/hellovietnam93/events{/privacy}","received_events_url":"https://api.github.com/users/hellovietnam93/received_events","type":"User","site_admin":false},"body":"k có dependent: :destroy nữa nhé ","created_at":"2016-11-02T01:22:43Z","updated_at":"2016-11-02T01:22:51Z","html_url":"https://github.com/framgia/fts_71/pull/5#discussion_r86059036","pull_request_url":"https://api.github.com/repos/framgia/fts_71/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/framgia/fts_71/pulls/comments/86059036"},"html":{"href":"https://github.com/framgia/fts_71/pull/5#discussion_r86059036"},"pull_request":{"href":"https://api.github.com/repos/framgia/fts_71/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fts_71/pulls/5","id":91556581,"html_url":"https://github.com/framgia/fts_71/pull/5","diff_url":"https://github.com/framgia/fts_71/pull/5.diff","patch_url":"https://github.com/framgia/fts_71/pull/5.patch","issue_url":"https://api.github.com/repos/framgia/fts_71/issues/5","number":5,"state":"open","locked":false,"title":"Init model ","user":{"login":"ducbka225","id":22359687,"avatar_url":"https://avatars.githubusercontent.com/u/22359687?v=3","gravatar_id":"","url":"https://api.github.com/users/ducbka225","html_url":"https://github.com/ducbka225","followers_url":"https://api.github.com/users/ducbka225/followers","following_url":"https://api.github.com/users/ducbka225/following{/other_user}","gists_url":"https://api.github.com/users/ducbka225/gists{/gist_id}","starred_url":"https://api.github.com/users/ducbka225/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ducbka225/subscriptions","organizations_url":"https://api.github.com/users/ducbka225/orgs","repos_url":"https://api.github.com/users/ducbka225/repos","events_url":"https://api.github.com/users/ducbka225/events{/privacy}","received_events_url":"https://api.github.com/users/ducbka225/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-31T04:50:23Z","updated_at":"2016-11-02T01:22:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd019abfc071863d96cde972bd726024721cfa24","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fts_71/pulls/5/commits","review_comments_url":"https://api.github.com/repos/framgia/fts_71/pulls/5/comments","review_comment_url":"https://api.github.com/repos/framgia/fts_71/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fts_71/issues/5/comments","statuses_url":"https://api.github.com/repos/framgia/fts_71/statuses/9cbf5c094dd6a09d082a7fd019b14cd9bdb41fe5","head":{"label":"ducbka225:init-model-2","ref":"init-model-2","sha":"9cbf5c094dd6a09d082a7fd019b14cd9bdb41fe5","user":{"login":"ducbka225","id":22359687,"avatar_url":"https://avatars.githubusercontent.com/u/22359687?v=3","gravatar_id":"","url":"https://api.github.com/users/ducbka225","html_url":"https://github.com/ducbka225","followers_url":"https://api.github.com/users/ducbka225/followers","following_url":"https://api.github.com/users/ducbka225/following{/other_user}","gists_url":"https://api.github.com/users/ducbka225/gists{/gist_id}","starred_url":"https://api.github.com/users/ducbka225/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ducbka225/subscriptions","organizations_url":"https://api.github.com/users/ducbka225/orgs","repos_url":"https://api.github.com/users/ducbka225/repos","events_url":"https://api.github.com/users/ducbka225/events{/privacy}","received_events_url":"https://api.github.com/users/ducbka225/received_events","type":"User","site_admin":false},"repo":{"id":72352842,"name":"fts_71","full_name":"ducbka225/fts_71","owner":{"login":"ducbka225","id":22359687,"avatar_url":"https://avatars.githubusercontent.com/u/22359687?v=3","gravatar_id":"","url":"https://api.github.com/users/ducbka225","html_url":"https://github.com/ducbka225","followers_url":"https://api.github.com/users/ducbka225/followers","following_url":"https://api.github.com/users/ducbka225/following{/other_user}","gists_url":"https://api.github.com/users/ducbka225/gists{/gist_id}","starred_url":"https://api.github.com/users/ducbka225/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ducbka225/subscriptions","organizations_url":"https://api.github.com/users/ducbka225/orgs","repos_url":"https://api.github.com/users/ducbka225/repos","events_url":"https://api.github.com/users/ducbka225/events{/privacy}","received_events_url":"https://api.github.com/users/ducbka225/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ducbka225/fts_71","description":"Framgia Test System (training)","fork":true,"url":"https://api.github.com/repos/ducbka225/fts_71","forks_url":"https://api.github.com/repos/ducbka225/fts_71/forks","keys_url":"https://api.github.com/repos/ducbka225/fts_71/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ducbka225/fts_71/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ducbka225/fts_71/teams","hooks_url":"https://api.github.com/repos/ducbka225/fts_71/hooks","issue_events_url":"https://api.github.com/repos/ducbka225/fts_71/issues/events{/number}","events_url":"https://api.github.com/repos/ducbka225/fts_71/events","assignees_url":"https://api.github.com/repos/ducbka225/fts_71/assignees{/user}","branches_url":"https://api.github.com/repos/ducbka225/fts_71/branches{/branch}","tags_url":"https://api.github.com/repos/ducbka225/fts_71/tags","blobs_url":"https://api.github.com/repos/ducbka225/fts_71/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ducbka225/fts_71/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ducbka225/fts_71/git/refs{/sha}","trees_url":"https://api.github.com/repos/ducbka225/fts_71/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ducbka225/fts_71/statuses/{sha}","languages_url":"https://api.github.com/repos/ducbka225/fts_71/languages","stargazers_url":"https://api.github.com/repos/ducbka225/fts_71/stargazers","contributors_url":"https://api.github.com/repos/ducbka225/fts_71/contributors","subscribers_url":"https://api.github.com/repos/ducbka225/fts_71/subscribers","subscription_url":"https://api.github.com/repos/ducbka225/fts_71/subscription","commits_url":"https://api.github.com/repos/ducbka225/fts_71/commits{/sha}","git_commits_url":"https://api.github.com/repos/ducbka225/fts_71/git/commits{/sha}","comments_url":"https://api.github.com/repos/ducbka225/fts_71/comments{/number}","issue_comment_url":"https://api.github.com/repos/ducbka225/fts_71/issues/comments{/number}","contents_url":"https://api.github.com/repos/ducbka225/fts_71/contents/{+path}","compare_url":"https://api.github.com/repos/ducbka225/fts_71/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ducbka225/fts_71/merges","archive_url":"https://api.github.com/repos/ducbka225/fts_71/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ducbka225/fts_71/downloads","issues_url":"https://api.github.com/repos/ducbka225/fts_71/issues{/number}","pulls_url":"https://api.github.com/repos/ducbka225/fts_71/pulls{/number}","milestones_url":"https://api.github.com/repos/ducbka225/fts_71/milestones{/number}","notifications_url":"https://api.github.com/repos/ducbka225/fts_71/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ducbka225/fts_71/labels{/name}","releases_url":"https://api.github.com/repos/ducbka225/fts_71/releases{/id}","deployments_url":"https://api.github.com/repos/ducbka225/fts_71/deployments","created_at":"2016-10-30T14:01:37Z","updated_at":"2016-10-26T03:42:35Z","pushed_at":"2016-11-01T15:35:27Z","git_url":"git://github.com/ducbka225/fts_71.git","ssh_url":"git@github.com:ducbka225/fts_71.git","clone_url":"https://github.com/ducbka225/fts_71.git","svn_url":"https://github.com/ducbka225/fts_71","homepage":null,"size":38,"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":"43897f63b8c01eda5166743d65974254ebf0d8c0","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":71963709,"name":"fts_71","full_name":"framgia/fts_71","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/fts_71","description":"Framgia Test System (training)","fork":false,"url":"https://api.github.com/repos/framgia/fts_71","forks_url":"https://api.github.com/repos/framgia/fts_71/forks","keys_url":"https://api.github.com/repos/framgia/fts_71/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fts_71/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fts_71/teams","hooks_url":"https://api.github.com/repos/framgia/fts_71/hooks","issue_events_url":"https://api.github.com/repos/framgia/fts_71/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fts_71/events","assignees_url":"https://api.github.com/repos/framgia/fts_71/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fts_71/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fts_71/tags","blobs_url":"https://api.github.com/repos/framgia/fts_71/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fts_71/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fts_71/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fts_71/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fts_71/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fts_71/languages","stargazers_url":"https://api.github.com/repos/framgia/fts_71/stargazers","contributors_url":"https://api.github.com/repos/framgia/fts_71/contributors","subscribers_url":"https://api.github.com/repos/framgia/fts_71/subscribers","subscription_url":"https://api.github.com/repos/framgia/fts_71/subscription","commits_url":"https://api.github.com/repos/framgia/fts_71/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fts_71/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fts_71/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fts_71/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fts_71/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fts_71/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fts_71/merges","archive_url":"https://api.github.com/repos/framgia/fts_71/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fts_71/downloads","issues_url":"https://api.github.com/repos/framgia/fts_71/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fts_71/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fts_71/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fts_71/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fts_71/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fts_71/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fts_71/deployments","created_at":"2016-10-26T03:42:35Z","updated_at":"2016-10-26T03:42:35Z","pushed_at":"2016-11-01T15:35:28Z","git_url":"git://github.com/framgia/fts_71.git","ssh_url":"git@github.com:framgia/fts_71.git","clone_url":"https://github.com/framgia/fts_71.git","svn_url":"https://github.com/framgia/fts_71","homepage":null,"size":33,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fts_71/pulls/5"},"html":{"href":"https://github.com/framgia/fts_71/pull/5"},"issue":{"href":"https://api.github.com/repos/framgia/fts_71/issues/5"},"comments":{"href":"https://api.github.com/repos/framgia/fts_71/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fts_71/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fts_71/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fts_71/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fts_71/statuses/9cbf5c094dd6a09d082a7fd019b14cd9bdb41fe5"}}}}
{"actor":{"display_login":"hellovietnam93"}}