{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_199/pulls/comments/83570275","pull_request_review_id":4405303,"id":83570275,"diff_hunk":"@@ -0,0 +1,7 @@\n+class Answer < ApplicationRecord\n+  has_many :answer_chooses, dependent: :destroy\n+  belongs_to :question\n+  scope :recent, -> {oder created_at: :desc}","path":"app/models/answer.rb","position":4,"original_position":4,"commit_id":"79674281214381ba07ccb120724c829c915213f8","original_commit_id":"79674281214381ba07ccb120724c829c915213f8","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":"->{oder created_at: :desc}","created_at":"2016-10-17T02:35:51Z","updated_at":"2016-10-17T02:36:21Z","html_url":"https://github.com/framgia/fels_199/pull/4#discussion_r83570275","pull_request_url":"https://api.github.com/repos/framgia/fels_199/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_199/pulls/comments/83570275"},"html":{"href":"https://github.com/framgia/fels_199/pull/4#discussion_r83570275"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_199/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_199/pulls/4","id":88997843,"html_url":"https://github.com/framgia/fels_199/pull/4","diff_url":"https://github.com/framgia/fels_199/pull/4.diff","patch_url":"https://github.com/framgia/fels_199/pull/4.patch","issue_url":"https://api.github.com/repos/framgia/fels_199/issues/4","number":4,"state":"open","locked":false,"title":"create model","user":{"login":"NguyenHuuGiap","id":22047045,"avatar_url":"https://avatars.githubusercontent.com/u/22047045?v=3","gravatar_id":"","url":"https://api.github.com/users/NguyenHuuGiap","html_url":"https://github.com/NguyenHuuGiap","followers_url":"https://api.github.com/users/NguyenHuuGiap/followers","following_url":"https://api.github.com/users/NguyenHuuGiap/following{/other_user}","gists_url":"https://api.github.com/users/NguyenHuuGiap/gists{/gist_id}","starred_url":"https://api.github.com/users/NguyenHuuGiap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NguyenHuuGiap/subscriptions","organizations_url":"https://api.github.com/users/NguyenHuuGiap/orgs","repos_url":"https://api.github.com/users/NguyenHuuGiap/repos","events_url":"https://api.github.com/users/NguyenHuuGiap/events{/privacy}","received_events_url":"https://api.github.com/users/NguyenHuuGiap/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-12T11:21:30Z","updated_at":"2016-10-17T02:36:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"083065471aaedf0be0f5163ddd39c72e523748d5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_199/pulls/4/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_199/pulls/4/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_199/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_199/issues/4/comments","statuses_url":"https://api.github.com/repos/framgia/fels_199/statuses/79674281214381ba07ccb120724c829c915213f8","head":{"label":"NguyenHuuGiap:model-category-question-answer","ref":"model-category-question-answer","sha":"79674281214381ba07ccb120724c829c915213f8","user":{"login":"NguyenHuuGiap","id":22047045,"avatar_url":"https://avatars.githubusercontent.com/u/22047045?v=3","gravatar_id":"","url":"https://api.github.com/users/NguyenHuuGiap","html_url":"https://github.com/NguyenHuuGiap","followers_url":"https://api.github.com/users/NguyenHuuGiap/followers","following_url":"https://api.github.com/users/NguyenHuuGiap/following{/other_user}","gists_url":"https://api.github.com/users/NguyenHuuGiap/gists{/gist_id}","starred_url":"https://api.github.com/users/NguyenHuuGiap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NguyenHuuGiap/subscriptions","organizations_url":"https://api.github.com/users/NguyenHuuGiap/orgs","repos_url":"https://api.github.com/users/NguyenHuuGiap/repos","events_url":"https://api.github.com/users/NguyenHuuGiap/events{/privacy}","received_events_url":"https://api.github.com/users/NguyenHuuGiap/received_events","type":"User","site_admin":false},"repo":{"id":70571368,"name":"fels_199","full_name":"NguyenHuuGiap/fels_199","owner":{"login":"NguyenHuuGiap","id":22047045,"avatar_url":"https://avatars.githubusercontent.com/u/22047045?v=3","gravatar_id":"","url":"https://api.github.com/users/NguyenHuuGiap","html_url":"https://github.com/NguyenHuuGiap","followers_url":"https://api.github.com/users/NguyenHuuGiap/followers","following_url":"https://api.github.com/users/NguyenHuuGiap/following{/other_user}","gists_url":"https://api.github.com/users/NguyenHuuGiap/gists{/gist_id}","starred_url":"https://api.github.com/users/NguyenHuuGiap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NguyenHuuGiap/subscriptions","organizations_url":"https://api.github.com/users/NguyenHuuGiap/orgs","repos_url":"https://api.github.com/users/NguyenHuuGiap/repos","events_url":"https://api.github.com/users/NguyenHuuGiap/events{/privacy}","received_events_url":"https://api.github.com/users/NguyenHuuGiap/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NguyenHuuGiap/fels_199","description":"Open Edu DN - Project 1","fork":true,"url":"https://api.github.com/repos/NguyenHuuGiap/fels_199","forks_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/forks","keys_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/teams","hooks_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/hooks","issue_events_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/issues/events{/number}","events_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/events","assignees_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/assignees{/user}","branches_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/branches{/branch}","tags_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/tags","blobs_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/git/refs{/sha}","trees_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/statuses/{sha}","languages_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/languages","stargazers_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/stargazers","contributors_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/contributors","subscribers_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/subscribers","subscription_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/subscription","commits_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/commits{/sha}","git_commits_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/git/commits{/sha}","comments_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/comments{/number}","issue_comment_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/issues/comments{/number}","contents_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/contents/{+path}","compare_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/merges","archive_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/downloads","issues_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/issues{/number}","pulls_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/pulls{/number}","milestones_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/milestones{/number}","notifications_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/labels{/name}","releases_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/releases{/id}","deployments_url":"https://api.github.com/repos/NguyenHuuGiap/fels_199/deployments","created_at":"2016-10-11T08:14:41Z","updated_at":"2016-10-11T06:41:53Z","pushed_at":"2016-10-14T17:07:35Z","git_url":"git://github.com/NguyenHuuGiap/fels_199.git","ssh_url":"git@github.com:NguyenHuuGiap/fels_199.git","clone_url":"https://github.com/NguyenHuuGiap/fels_199.git","svn_url":"https://github.com/NguyenHuuGiap/fels_199","homepage":null,"size":218,"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":"a4d4875b86fb396fd36a2400b1e822a556d968bf","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":70563944,"name":"fels_199","full_name":"framgia/fels_199","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/fels_199","description":"Open Edu DN - Project 1","fork":false,"url":"https://api.github.com/repos/framgia/fels_199","forks_url":"https://api.github.com/repos/framgia/fels_199/forks","keys_url":"https://api.github.com/repos/framgia/fels_199/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_199/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_199/teams","hooks_url":"https://api.github.com/repos/framgia/fels_199/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_199/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_199/events","assignees_url":"https://api.github.com/repos/framgia/fels_199/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_199/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_199/tags","blobs_url":"https://api.github.com/repos/framgia/fels_199/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_199/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_199/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_199/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_199/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_199/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_199/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_199/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_199/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_199/subscription","commits_url":"https://api.github.com/repos/framgia/fels_199/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_199/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_199/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_199/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_199/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_199/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_199/merges","archive_url":"https://api.github.com/repos/framgia/fels_199/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_199/downloads","issues_url":"https://api.github.com/repos/framgia/fels_199/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_199/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_199/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_199/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_199/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_199/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_199/deployments","created_at":"2016-10-11T06:40:37Z","updated_at":"2016-10-11T06:41:53Z","pushed_at":"2016-10-15T13:18:06Z","git_url":"git://github.com/framgia/fels_199.git","ssh_url":"git@github.com:framgia/fels_199.git","clone_url":"https://github.com/framgia/fels_199.git","svn_url":"https://github.com/framgia/fels_199","homepage":null,"size":215,"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/fels_199/pulls/4"},"html":{"href":"https://github.com/framgia/fels_199/pull/4"},"issue":{"href":"https://api.github.com/repos/framgia/fels_199/issues/4"},"comments":{"href":"https://api.github.com/repos/framgia/fels_199/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_199/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_199/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_199/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_199/statuses/79674281214381ba07ccb120724c829c915213f8"}}}}
{"actor":{"display_login":"nvtanh"}}