{"action":"created","comment":{"url":"https://api.github.com/repos/sachmem/els1/pulls/comments/68927703","id":68927703,"diff_hunk":"@@ -0,0 +1,2 @@\n+class Category < ActiveRecord::Base","path":"app/models/category.rb","position":1,"original_position":1,"commit_id":"183861600bbbfd4acd890977f68164d559ffd3f6","original_commit_id":"183861600bbbfd4acd890977f68164d559ffd3f6","user":{"login":"ttuan","id":10399018,"avatar_url":"https://avatars.githubusercontent.com/u/10399018?v=3","gravatar_id":"","url":"https://api.github.com/users/ttuan","html_url":"https://github.com/ttuan","followers_url":"https://api.github.com/users/ttuan/followers","following_url":"https://api.github.com/users/ttuan/following{/other_user}","gists_url":"https://api.github.com/users/ttuan/gists{/gist_id}","starred_url":"https://api.github.com/users/ttuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttuan/subscriptions","organizations_url":"https://api.github.com/users/ttuan/orgs","repos_url":"https://api.github.com/users/ttuan/repos","events_url":"https://api.github.com/users/ttuan/events{/privacy}","received_events_url":"https://api.github.com/users/ttuan/received_events","type":"User","site_admin":false},"body":"chỗ này k có has_many :activities hả em, trên có activity belongs to category kìa ","created_at":"2016-06-29T11:07:09Z","updated_at":"2016-06-29T11:07:09Z","html_url":"https://github.com/sachmem/els1/pull/2#discussion_r68927703","pull_request_url":"https://api.github.com/repos/sachmem/els1/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/sachmem/els1/pulls/comments/68927703"},"html":{"href":"https://github.com/sachmem/els1/pull/2#discussion_r68927703"},"pull_request":{"href":"https://api.github.com/repos/sachmem/els1/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/sachmem/els1/pulls/2","id":75592643,"html_url":"https://github.com/sachmem/els1/pull/2","diff_url":"https://github.com/sachmem/els1/pull/2.diff","patch_url":"https://github.com/sachmem/els1/pull/2.patch","issue_url":"https://api.github.com/repos/sachmem/els1/issues/2","number":2,"state":"open","locked":false,"title":"Init model","user":{"login":"hieptm96","id":12107815,"avatar_url":"https://avatars.githubusercontent.com/u/12107815?v=3","gravatar_id":"","url":"https://api.github.com/users/hieptm96","html_url":"https://github.com/hieptm96","followers_url":"https://api.github.com/users/hieptm96/followers","following_url":"https://api.github.com/users/hieptm96/following{/other_user}","gists_url":"https://api.github.com/users/hieptm96/gists{/gist_id}","starred_url":"https://api.github.com/users/hieptm96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hieptm96/subscriptions","organizations_url":"https://api.github.com/users/hieptm96/orgs","repos_url":"https://api.github.com/users/hieptm96/repos","events_url":"https://api.github.com/users/hieptm96/events{/privacy}","received_events_url":"https://api.github.com/users/hieptm96/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-29T06:03:53Z","updated_at":"2016-06-29T11:07:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d23ed89b5710cf9852ffec996f01a58b9ddb8f8b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sachmem/els1/pulls/2/commits","review_comments_url":"https://api.github.com/repos/sachmem/els1/pulls/2/comments","review_comment_url":"https://api.github.com/repos/sachmem/els1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sachmem/els1/issues/2/comments","statuses_url":"https://api.github.com/repos/sachmem/els1/statuses/183861600bbbfd4acd890977f68164d559ffd3f6","head":{"label":"hieptm96:#277","ref":"#277","sha":"183861600bbbfd4acd890977f68164d559ffd3f6","user":{"login":"hieptm96","id":12107815,"avatar_url":"https://avatars.githubusercontent.com/u/12107815?v=3","gravatar_id":"","url":"https://api.github.com/users/hieptm96","html_url":"https://github.com/hieptm96","followers_url":"https://api.github.com/users/hieptm96/followers","following_url":"https://api.github.com/users/hieptm96/following{/other_user}","gists_url":"https://api.github.com/users/hieptm96/gists{/gist_id}","starred_url":"https://api.github.com/users/hieptm96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hieptm96/subscriptions","organizations_url":"https://api.github.com/users/hieptm96/orgs","repos_url":"https://api.github.com/users/hieptm96/repos","events_url":"https://api.github.com/users/hieptm96/events{/privacy}","received_events_url":"https://api.github.com/users/hieptm96/received_events","type":"User","site_admin":false},"repo":{"id":62187102,"name":"els1","full_name":"hieptm96/els1","owner":{"login":"hieptm96","id":12107815,"avatar_url":"https://avatars.githubusercontent.com/u/12107815?v=3","gravatar_id":"","url":"https://api.github.com/users/hieptm96","html_url":"https://github.com/hieptm96","followers_url":"https://api.github.com/users/hieptm96/followers","following_url":"https://api.github.com/users/hieptm96/following{/other_user}","gists_url":"https://api.github.com/users/hieptm96/gists{/gist_id}","starred_url":"https://api.github.com/users/hieptm96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hieptm96/subscriptions","organizations_url":"https://api.github.com/users/hieptm96/orgs","repos_url":"https://api.github.com/users/hieptm96/repos","events_url":"https://api.github.com/users/hieptm96/events{/privacy}","received_events_url":"https://api.github.com/users/hieptm96/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hieptm96/els1","description":null,"fork":true,"url":"https://api.github.com/repos/hieptm96/els1","forks_url":"https://api.github.com/repos/hieptm96/els1/forks","keys_url":"https://api.github.com/repos/hieptm96/els1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hieptm96/els1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hieptm96/els1/teams","hooks_url":"https://api.github.com/repos/hieptm96/els1/hooks","issue_events_url":"https://api.github.com/repos/hieptm96/els1/issues/events{/number}","events_url":"https://api.github.com/repos/hieptm96/els1/events","assignees_url":"https://api.github.com/repos/hieptm96/els1/assignees{/user}","branches_url":"https://api.github.com/repos/hieptm96/els1/branches{/branch}","tags_url":"https://api.github.com/repos/hieptm96/els1/tags","blobs_url":"https://api.github.com/repos/hieptm96/els1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hieptm96/els1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hieptm96/els1/git/refs{/sha}","trees_url":"https://api.github.com/repos/hieptm96/els1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hieptm96/els1/statuses/{sha}","languages_url":"https://api.github.com/repos/hieptm96/els1/languages","stargazers_url":"https://api.github.com/repos/hieptm96/els1/stargazers","contributors_url":"https://api.github.com/repos/hieptm96/els1/contributors","subscribers_url":"https://api.github.com/repos/hieptm96/els1/subscribers","subscription_url":"https://api.github.com/repos/hieptm96/els1/subscription","commits_url":"https://api.github.com/repos/hieptm96/els1/commits{/sha}","git_commits_url":"https://api.github.com/repos/hieptm96/els1/git/commits{/sha}","comments_url":"https://api.github.com/repos/hieptm96/els1/comments{/number}","issue_comment_url":"https://api.github.com/repos/hieptm96/els1/issues/comments{/number}","contents_url":"https://api.github.com/repos/hieptm96/els1/contents/{+path}","compare_url":"https://api.github.com/repos/hieptm96/els1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hieptm96/els1/merges","archive_url":"https://api.github.com/repos/hieptm96/els1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hieptm96/els1/downloads","issues_url":"https://api.github.com/repos/hieptm96/els1/issues{/number}","pulls_url":"https://api.github.com/repos/hieptm96/els1/pulls{/number}","milestones_url":"https://api.github.com/repos/hieptm96/els1/milestones{/number}","notifications_url":"https://api.github.com/repos/hieptm96/els1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hieptm96/els1/labels{/name}","releases_url":"https://api.github.com/repos/hieptm96/els1/releases{/id}","deployments_url":"https://api.github.com/repos/hieptm96/els1/deployments","created_at":"2016-06-29T01:53:40Z","updated_at":"2016-06-29T01:53:41Z","pushed_at":"2016-06-29T05:58:44Z","git_url":"git://github.com/hieptm96/els1.git","ssh_url":"git@github.com:hieptm96/els1.git","clone_url":"https://github.com/hieptm96/els1.git","svn_url":"https://github.com/hieptm96/els1","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"sachmem:development","ref":"development","sha":"d1cab9d8ed688097c8b986e6611ecbba69893d7f","user":{"login":"sachmem","id":20066220,"avatar_url":"https://avatars.githubusercontent.com/u/20066220?v=3","gravatar_id":"","url":"https://api.github.com/users/sachmem","html_url":"https://github.com/sachmem","followers_url":"https://api.github.com/users/sachmem/followers","following_url":"https://api.github.com/users/sachmem/following{/other_user}","gists_url":"https://api.github.com/users/sachmem/gists{/gist_id}","starred_url":"https://api.github.com/users/sachmem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachmem/subscriptions","organizations_url":"https://api.github.com/users/sachmem/orgs","repos_url":"https://api.github.com/users/sachmem/repos","events_url":"https://api.github.com/users/sachmem/events{/privacy}","received_events_url":"https://api.github.com/users/sachmem/received_events","type":"Organization","site_admin":false},"repo":{"id":61687492,"name":"els1","full_name":"sachmem/els1","owner":{"login":"sachmem","id":20066220,"avatar_url":"https://avatars.githubusercontent.com/u/20066220?v=3","gravatar_id":"","url":"https://api.github.com/users/sachmem","html_url":"https://github.com/sachmem","followers_url":"https://api.github.com/users/sachmem/followers","following_url":"https://api.github.com/users/sachmem/following{/other_user}","gists_url":"https://api.github.com/users/sachmem/gists{/gist_id}","starred_url":"https://api.github.com/users/sachmem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachmem/subscriptions","organizations_url":"https://api.github.com/users/sachmem/orgs","repos_url":"https://api.github.com/users/sachmem/repos","events_url":"https://api.github.com/users/sachmem/events{/privacy}","received_events_url":"https://api.github.com/users/sachmem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sachmem/els1","description":"","fork":false,"url":"https://api.github.com/repos/sachmem/els1","forks_url":"https://api.github.com/repos/sachmem/els1/forks","keys_url":"https://api.github.com/repos/sachmem/els1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sachmem/els1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sachmem/els1/teams","hooks_url":"https://api.github.com/repos/sachmem/els1/hooks","issue_events_url":"https://api.github.com/repos/sachmem/els1/issues/events{/number}","events_url":"https://api.github.com/repos/sachmem/els1/events","assignees_url":"https://api.github.com/repos/sachmem/els1/assignees{/user}","branches_url":"https://api.github.com/repos/sachmem/els1/branches{/branch}","tags_url":"https://api.github.com/repos/sachmem/els1/tags","blobs_url":"https://api.github.com/repos/sachmem/els1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sachmem/els1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sachmem/els1/git/refs{/sha}","trees_url":"https://api.github.com/repos/sachmem/els1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sachmem/els1/statuses/{sha}","languages_url":"https://api.github.com/repos/sachmem/els1/languages","stargazers_url":"https://api.github.com/repos/sachmem/els1/stargazers","contributors_url":"https://api.github.com/repos/sachmem/els1/contributors","subscribers_url":"https://api.github.com/repos/sachmem/els1/subscribers","subscription_url":"https://api.github.com/repos/sachmem/els1/subscription","commits_url":"https://api.github.com/repos/sachmem/els1/commits{/sha}","git_commits_url":"https://api.github.com/repos/sachmem/els1/git/commits{/sha}","comments_url":"https://api.github.com/repos/sachmem/els1/comments{/number}","issue_comment_url":"https://api.github.com/repos/sachmem/els1/issues/comments{/number}","contents_url":"https://api.github.com/repos/sachmem/els1/contents/{+path}","compare_url":"https://api.github.com/repos/sachmem/els1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sachmem/els1/merges","archive_url":"https://api.github.com/repos/sachmem/els1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sachmem/els1/downloads","issues_url":"https://api.github.com/repos/sachmem/els1/issues{/number}","pulls_url":"https://api.github.com/repos/sachmem/els1/pulls{/number}","milestones_url":"https://api.github.com/repos/sachmem/els1/milestones{/number}","notifications_url":"https://api.github.com/repos/sachmem/els1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sachmem/els1/labels{/name}","releases_url":"https://api.github.com/repos/sachmem/els1/releases{/id}","deployments_url":"https://api.github.com/repos/sachmem/els1/deployments","created_at":"2016-06-22T03:56:52Z","updated_at":"2016-06-28T01:35:00Z","pushed_at":"2016-06-29T06:11:52Z","git_url":"git://github.com/sachmem/els1.git","ssh_url":"git@github.com:sachmem/els1.git","clone_url":"https://github.com/sachmem/els1.git","svn_url":"https://github.com/sachmem/els1","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sachmem/els1/pulls/2"},"html":{"href":"https://github.com/sachmem/els1/pull/2"},"issue":{"href":"https://api.github.com/repos/sachmem/els1/issues/2"},"comments":{"href":"https://api.github.com/repos/sachmem/els1/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/sachmem/els1/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/sachmem/els1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sachmem/els1/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/sachmem/els1/statuses/183861600bbbfd4acd890977f68164d559ffd3f6"}}}}
{"actor":{"display_login":"ttuan"}}