{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/e-commerce_02/pulls/comments/87137521","pull_request_review_id":7760928,"id":87137521,"diff_hunk":"@@ -0,0 +1,8 @@\n+class Product < ApplicationRecord\n+  has_many :sizes\n+  has_many :colors\n+  has_many :line_items","path":"app/models/product.rb","position":4,"original_position":4,"commit_id":"1a344b9524cec4ec5d5159f4a3a826929ec3eabe","original_commit_id":"6fe6071a526741894e796788fa45b120efdfbfda","user":{"login":"vovando","id":8894181,"avatar_url":"https://avatars.githubusercontent.com/u/8894181?v=3","gravatar_id":"","url":"https://api.github.com/users/vovando","html_url":"https://github.com/vovando","followers_url":"https://api.github.com/users/vovando/followers","following_url":"https://api.github.com/users/vovando/following{/other_user}","gists_url":"https://api.github.com/users/vovando/gists{/gist_id}","starred_url":"https://api.github.com/users/vovando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovando/subscriptions","organizations_url":"https://api.github.com/users/vovando/orgs","repos_url":"https://api.github.com/users/vovando/repos","events_url":"https://api.github.com/users/vovando/events{/privacy}","received_events_url":"https://api.github.com/users/vovando/received_events","type":"User","site_admin":false},"body":"chỗ này a nghĩ phải là `has_many` chứ nhỉ?","created_at":"2016-11-09T06:11:14Z","updated_at":"2016-11-09T06:11:14Z","html_url":"https://github.com/framgia/e-commerce_02/pull/3#discussion_r87137521","pull_request_url":"https://api.github.com/repos/framgia/e-commerce_02/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/framgia/e-commerce_02/pulls/comments/87137521"},"html":{"href":"https://github.com/framgia/e-commerce_02/pull/3#discussion_r87137521"},"pull_request":{"href":"https://api.github.com/repos/framgia/e-commerce_02/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/e-commerce_02/pulls/3","id":92903104,"html_url":"https://github.com/framgia/e-commerce_02/pull/3","diff_url":"https://github.com/framgia/e-commerce_02/pull/3.diff","patch_url":"https://github.com/framgia/e-commerce_02/pull/3.patch","issue_url":"https://api.github.com/repos/framgia/e-commerce_02/issues/3","number":3,"state":"open","locked":false,"title":"refs #86730 Init model + Relationship","user":{"login":"vovando","id":8894181,"avatar_url":"https://avatars.githubusercontent.com/u/8894181?v=3","gravatar_id":"","url":"https://api.github.com/users/vovando","html_url":"https://github.com/vovando","followers_url":"https://api.github.com/users/vovando/followers","following_url":"https://api.github.com/users/vovando/following{/other_user}","gists_url":"https://api.github.com/users/vovando/gists{/gist_id}","starred_url":"https://api.github.com/users/vovando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovando/subscriptions","organizations_url":"https://api.github.com/users/vovando/orgs","repos_url":"https://api.github.com/users/vovando/repos","events_url":"https://api.github.com/users/vovando/events{/privacy}","received_events_url":"https://api.github.com/users/vovando/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-09T04:09:22Z","updated_at":"2016-11-09T06:11:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87a195f030cc324daa7dfcfe817df3cda7227c54","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/e-commerce_02/pulls/3/commits","review_comments_url":"https://api.github.com/repos/framgia/e-commerce_02/pulls/3/comments","review_comment_url":"https://api.github.com/repos/framgia/e-commerce_02/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/e-commerce_02/issues/3/comments","statuses_url":"https://api.github.com/repos/framgia/e-commerce_02/statuses/1a344b9524cec4ec5d5159f4a3a826929ec3eabe","head":{"label":"vovando:refs#86730","ref":"refs#86730","sha":"1a344b9524cec4ec5d5159f4a3a826929ec3eabe","user":{"login":"vovando","id":8894181,"avatar_url":"https://avatars.githubusercontent.com/u/8894181?v=3","gravatar_id":"","url":"https://api.github.com/users/vovando","html_url":"https://github.com/vovando","followers_url":"https://api.github.com/users/vovando/followers","following_url":"https://api.github.com/users/vovando/following{/other_user}","gists_url":"https://api.github.com/users/vovando/gists{/gist_id}","starred_url":"https://api.github.com/users/vovando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovando/subscriptions","organizations_url":"https://api.github.com/users/vovando/orgs","repos_url":"https://api.github.com/users/vovando/repos","events_url":"https://api.github.com/users/vovando/events{/privacy}","received_events_url":"https://api.github.com/users/vovando/received_events","type":"User","site_admin":false},"repo":{"id":73147314,"name":"e-commerce_02","full_name":"vovando/e-commerce_02","owner":{"login":"vovando","id":8894181,"avatar_url":"https://avatars.githubusercontent.com/u/8894181?v=3","gravatar_id":"","url":"https://api.github.com/users/vovando","html_url":"https://github.com/vovando","followers_url":"https://api.github.com/users/vovando/followers","following_url":"https://api.github.com/users/vovando/following{/other_user}","gists_url":"https://api.github.com/users/vovando/gists{/gist_id}","starred_url":"https://api.github.com/users/vovando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovando/subscriptions","organizations_url":"https://api.github.com/users/vovando/orgs","repos_url":"https://api.github.com/users/vovando/repos","events_url":"https://api.github.com/users/vovando/events{/privacy}","received_events_url":"https://api.github.com/users/vovando/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vovando/e-commerce_02","description":"E Commerce (Training - Vo Van Do)","fork":true,"url":"https://api.github.com/repos/vovando/e-commerce_02","forks_url":"https://api.github.com/repos/vovando/e-commerce_02/forks","keys_url":"https://api.github.com/repos/vovando/e-commerce_02/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vovando/e-commerce_02/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vovando/e-commerce_02/teams","hooks_url":"https://api.github.com/repos/vovando/e-commerce_02/hooks","issue_events_url":"https://api.github.com/repos/vovando/e-commerce_02/issues/events{/number}","events_url":"https://api.github.com/repos/vovando/e-commerce_02/events","assignees_url":"https://api.github.com/repos/vovando/e-commerce_02/assignees{/user}","branches_url":"https://api.github.com/repos/vovando/e-commerce_02/branches{/branch}","tags_url":"https://api.github.com/repos/vovando/e-commerce_02/tags","blobs_url":"https://api.github.com/repos/vovando/e-commerce_02/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vovando/e-commerce_02/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vovando/e-commerce_02/git/refs{/sha}","trees_url":"https://api.github.com/repos/vovando/e-commerce_02/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vovando/e-commerce_02/statuses/{sha}","languages_url":"https://api.github.com/repos/vovando/e-commerce_02/languages","stargazers_url":"https://api.github.com/repos/vovando/e-commerce_02/stargazers","contributors_url":"https://api.github.com/repos/vovando/e-commerce_02/contributors","subscribers_url":"https://api.github.com/repos/vovando/e-commerce_02/subscribers","subscription_url":"https://api.github.com/repos/vovando/e-commerce_02/subscription","commits_url":"https://api.github.com/repos/vovando/e-commerce_02/commits{/sha}","git_commits_url":"https://api.github.com/repos/vovando/e-commerce_02/git/commits{/sha}","comments_url":"https://api.github.com/repos/vovando/e-commerce_02/comments{/number}","issue_comment_url":"https://api.github.com/repos/vovando/e-commerce_02/issues/comments{/number}","contents_url":"https://api.github.com/repos/vovando/e-commerce_02/contents/{+path}","compare_url":"https://api.github.com/repos/vovando/e-commerce_02/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vovando/e-commerce_02/merges","archive_url":"https://api.github.com/repos/vovando/e-commerce_02/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vovando/e-commerce_02/downloads","issues_url":"https://api.github.com/repos/vovando/e-commerce_02/issues{/number}","pulls_url":"https://api.github.com/repos/vovando/e-commerce_02/pulls{/number}","milestones_url":"https://api.github.com/repos/vovando/e-commerce_02/milestones{/number}","notifications_url":"https://api.github.com/repos/vovando/e-commerce_02/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vovando/e-commerce_02/labels{/name}","releases_url":"https://api.github.com/repos/vovando/e-commerce_02/releases{/id}","deployments_url":"https://api.github.com/repos/vovando/e-commerce_02/deployments","created_at":"2016-11-08T03:58:19Z","updated_at":"2016-11-08T01:17:54Z","pushed_at":"2016-11-09T05:56:02Z","git_url":"git://github.com/vovando/e-commerce_02.git","ssh_url":"git@github.com:vovando/e-commerce_02.git","clone_url":"https://github.com/vovando/e-commerce_02.git","svn_url":"https://github.com/vovando/e-commerce_02","homepage":null,"size":30,"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":"7790b76fa71fdf86d807a168c109dfcf0f250c3e","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":73136323,"name":"e-commerce_02","full_name":"framgia/e-commerce_02","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/e-commerce_02","description":"E Commerce (Training - Vo Van Do)","fork":false,"url":"https://api.github.com/repos/framgia/e-commerce_02","forks_url":"https://api.github.com/repos/framgia/e-commerce_02/forks","keys_url":"https://api.github.com/repos/framgia/e-commerce_02/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/e-commerce_02/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/e-commerce_02/teams","hooks_url":"https://api.github.com/repos/framgia/e-commerce_02/hooks","issue_events_url":"https://api.github.com/repos/framgia/e-commerce_02/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/e-commerce_02/events","assignees_url":"https://api.github.com/repos/framgia/e-commerce_02/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/e-commerce_02/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/e-commerce_02/tags","blobs_url":"https://api.github.com/repos/framgia/e-commerce_02/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/e-commerce_02/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/e-commerce_02/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/e-commerce_02/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/e-commerce_02/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/e-commerce_02/languages","stargazers_url":"https://api.github.com/repos/framgia/e-commerce_02/stargazers","contributors_url":"https://api.github.com/repos/framgia/e-commerce_02/contributors","subscribers_url":"https://api.github.com/repos/framgia/e-commerce_02/subscribers","subscription_url":"https://api.github.com/repos/framgia/e-commerce_02/subscription","commits_url":"https://api.github.com/repos/framgia/e-commerce_02/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/e-commerce_02/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/e-commerce_02/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/e-commerce_02/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/e-commerce_02/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/e-commerce_02/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/e-commerce_02/merges","archive_url":"https://api.github.com/repos/framgia/e-commerce_02/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/e-commerce_02/downloads","issues_url":"https://api.github.com/repos/framgia/e-commerce_02/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/e-commerce_02/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/e-commerce_02/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/e-commerce_02/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/e-commerce_02/labels{/name}","releases_url":"https://api.github.com/repos/framgia/e-commerce_02/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/e-commerce_02/deployments","created_at":"2016-11-08T01:17:54Z","updated_at":"2016-11-08T01:17:54Z","pushed_at":"2016-11-09T05:56:02Z","git_url":"git://github.com/framgia/e-commerce_02.git","ssh_url":"git@github.com:framgia/e-commerce_02.git","clone_url":"https://github.com/framgia/e-commerce_02.git","svn_url":"https://github.com/framgia/e-commerce_02","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/e-commerce_02/pulls/3"},"html":{"href":"https://github.com/framgia/e-commerce_02/pull/3"},"issue":{"href":"https://api.github.com/repos/framgia/e-commerce_02/issues/3"},"comments":{"href":"https://api.github.com/repos/framgia/e-commerce_02/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/e-commerce_02/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/e-commerce_02/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/e-commerce_02/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/e-commerce_02/statuses/1a344b9524cec4ec5d5159f4a3a826929ec3eabe"}}}}
{"actor":{"display_login":"vovando"}}