{"action":"created","comment":{"url":"https://api.github.com/repos/ssharba/gb-project/pulls/comments/177886034","pull_request_review_id":107845319,"id":177886034,"diff_hunk":"@@ -0,0 +1,3 @@\n+class Ad < ApplicationRecord\n+  belongs_to :customer_ad, optional: true","path":"app/models/ad.rb","position":2,"original_position":2,"commit_id":"57f5b427a1ea19b0f480f2d630135f33397a6595","original_commit_id":"57f5b427a1ea19b0f480f2d630135f33397a6595","user":{"login":"MwMaki","id":22043245,"avatar_url":"https://avatars2.githubusercontent.com/u/22043245?v=4","gravatar_id":"","url":"https://api.github.com/users/MwMaki","html_url":"https://github.com/MwMaki","followers_url":"https://api.github.com/users/MwMaki/followers","following_url":"https://api.github.com/users/MwMaki/following{/other_user}","gists_url":"https://api.github.com/users/MwMaki/gists{/gist_id}","starred_url":"https://api.github.com/users/MwMaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MwMaki/subscriptions","organizations_url":"https://api.github.com/users/MwMaki/orgs","repos_url":"https://api.github.com/users/MwMaki/repos","events_url":"https://api.github.com/users/MwMaki/events{/privacy}","received_events_url":"https://api.github.com/users/MwMaki/received_events","type":"User","site_admin":false},"body":"@Beiancaa  think about the association and fix it.","created_at":"2018-03-28T20:51:02Z","updated_at":"2018-03-28T20:57:21Z","html_url":"https://github.com/ssharba/gb-project/pull/6#discussion_r177886034","pull_request_url":"https://api.github.com/repos/ssharba/gb-project/pulls/6","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ssharba/gb-project/pulls/comments/177886034"},"html":{"href":"https://github.com/ssharba/gb-project/pull/6#discussion_r177886034"},"pull_request":{"href":"https://api.github.com/repos/ssharba/gb-project/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/ssharba/gb-project/pulls/6","id":178144943,"html_url":"https://github.com/ssharba/gb-project/pull/6","diff_url":"https://github.com/ssharba/gb-project/pull/6.diff","patch_url":"https://github.com/ssharba/gb-project/pull/6.patch","issue_url":"https://api.github.com/repos/ssharba/gb-project/issues/6","number":6,"state":"open","locked":false,"title":"By customer ads","user":{"login":"Beiancaa","id":25987193,"avatar_url":"https://avatars2.githubusercontent.com/u/25987193?v=4","gravatar_id":"","url":"https://api.github.com/users/Beiancaa","html_url":"https://github.com/Beiancaa","followers_url":"https://api.github.com/users/Beiancaa/followers","following_url":"https://api.github.com/users/Beiancaa/following{/other_user}","gists_url":"https://api.github.com/users/Beiancaa/gists{/gist_id}","starred_url":"https://api.github.com/users/Beiancaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Beiancaa/subscriptions","organizations_url":"https://api.github.com/users/Beiancaa/orgs","repos_url":"https://api.github.com/users/Beiancaa/repos","events_url":"https://api.github.com/users/Beiancaa/events{/privacy}","received_events_url":"https://api.github.com/users/Beiancaa/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-28T19:50:58Z","updated_at":"2018-03-28T20:57:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d14920377b4c62db1558869b321e6a91a1a1fcc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ssharba/gb-project/pulls/6/commits","review_comments_url":"https://api.github.com/repos/ssharba/gb-project/pulls/6/comments","review_comment_url":"https://api.github.com/repos/ssharba/gb-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ssharba/gb-project/issues/6/comments","statuses_url":"https://api.github.com/repos/ssharba/gb-project/statuses/57f5b427a1ea19b0f480f2d630135f33397a6595","head":{"label":"ssharba:BY_customer_ads","ref":"BY_customer_ads","sha":"57f5b427a1ea19b0f480f2d630135f33397a6595","user":{"login":"ssharba","id":11578245,"avatar_url":"https://avatars0.githubusercontent.com/u/11578245?v=4","gravatar_id":"","url":"https://api.github.com/users/ssharba","html_url":"https://github.com/ssharba","followers_url":"https://api.github.com/users/ssharba/followers","following_url":"https://api.github.com/users/ssharba/following{/other_user}","gists_url":"https://api.github.com/users/ssharba/gists{/gist_id}","starred_url":"https://api.github.com/users/ssharba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssharba/subscriptions","organizations_url":"https://api.github.com/users/ssharba/orgs","repos_url":"https://api.github.com/users/ssharba/repos","events_url":"https://api.github.com/users/ssharba/events{/privacy}","received_events_url":"https://api.github.com/users/ssharba/received_events","type":"User","site_admin":false},"repo":{"id":126043061,"name":"gb-project","full_name":"ssharba/gb-project","owner":{"login":"ssharba","id":11578245,"avatar_url":"https://avatars0.githubusercontent.com/u/11578245?v=4","gravatar_id":"","url":"https://api.github.com/users/ssharba","html_url":"https://github.com/ssharba","followers_url":"https://api.github.com/users/ssharba/followers","following_url":"https://api.github.com/users/ssharba/following{/other_user}","gists_url":"https://api.github.com/users/ssharba/gists{/gist_id}","starred_url":"https://api.github.com/users/ssharba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssharba/subscriptions","organizations_url":"https://api.github.com/users/ssharba/orgs","repos_url":"https://api.github.com/users/ssharba/repos","events_url":"https://api.github.com/users/ssharba/events{/privacy}","received_events_url":"https://api.github.com/users/ssharba/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ssharba/gb-project","description":null,"fork":false,"url":"https://api.github.com/repos/ssharba/gb-project","forks_url":"https://api.github.com/repos/ssharba/gb-project/forks","keys_url":"https://api.github.com/repos/ssharba/gb-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssharba/gb-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssharba/gb-project/teams","hooks_url":"https://api.github.com/repos/ssharba/gb-project/hooks","issue_events_url":"https://api.github.com/repos/ssharba/gb-project/issues/events{/number}","events_url":"https://api.github.com/repos/ssharba/gb-project/events","assignees_url":"https://api.github.com/repos/ssharba/gb-project/assignees{/user}","branches_url":"https://api.github.com/repos/ssharba/gb-project/branches{/branch}","tags_url":"https://api.github.com/repos/ssharba/gb-project/tags","blobs_url":"https://api.github.com/repos/ssharba/gb-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssharba/gb-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssharba/gb-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssharba/gb-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssharba/gb-project/statuses/{sha}","languages_url":"https://api.github.com/repos/ssharba/gb-project/languages","stargazers_url":"https://api.github.com/repos/ssharba/gb-project/stargazers","contributors_url":"https://api.github.com/repos/ssharba/gb-project/contributors","subscribers_url":"https://api.github.com/repos/ssharba/gb-project/subscribers","subscription_url":"https://api.github.com/repos/ssharba/gb-project/subscription","commits_url":"https://api.github.com/repos/ssharba/gb-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssharba/gb-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssharba/gb-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssharba/gb-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/ssharba/gb-project/contents/{+path}","compare_url":"https://api.github.com/repos/ssharba/gb-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssharba/gb-project/merges","archive_url":"https://api.github.com/repos/ssharba/gb-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssharba/gb-project/downloads","issues_url":"https://api.github.com/repos/ssharba/gb-project/issues{/number}","pulls_url":"https://api.github.com/repos/ssharba/gb-project/pulls{/number}","milestones_url":"https://api.github.com/repos/ssharba/gb-project/milestones{/number}","notifications_url":"https://api.github.com/repos/ssharba/gb-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssharba/gb-project/labels{/name}","releases_url":"https://api.github.com/repos/ssharba/gb-project/releases{/id}","deployments_url":"https://api.github.com/repos/ssharba/gb-project/deployments","created_at":"2018-03-20T15:49:27Z","updated_at":"2018-03-21T15:20:33Z","pushed_at":"2018-03-28T19:50:59Z","git_url":"git://github.com/ssharba/gb-project.git","ssh_url":"git@github.com:ssharba/gb-project.git","clone_url":"https://github.com/ssharba/gb-project.git","svn_url":"https://github.com/ssharba/gb-project","homepage":null,"size":1561,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":0,"default_branch":"dev"}},"base":{"label":"ssharba:dev","ref":"dev","sha":"49ae2896ab00243706f00a5297249d3bc6193887","user":{"login":"ssharba","id":11578245,"avatar_url":"https://avatars0.githubusercontent.com/u/11578245?v=4","gravatar_id":"","url":"https://api.github.com/users/ssharba","html_url":"https://github.com/ssharba","followers_url":"https://api.github.com/users/ssharba/followers","following_url":"https://api.github.com/users/ssharba/following{/other_user}","gists_url":"https://api.github.com/users/ssharba/gists{/gist_id}","starred_url":"https://api.github.com/users/ssharba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssharba/subscriptions","organizations_url":"https://api.github.com/users/ssharba/orgs","repos_url":"https://api.github.com/users/ssharba/repos","events_url":"https://api.github.com/users/ssharba/events{/privacy}","received_events_url":"https://api.github.com/users/ssharba/received_events","type":"User","site_admin":false},"repo":{"id":126043061,"name":"gb-project","full_name":"ssharba/gb-project","owner":{"login":"ssharba","id":11578245,"avatar_url":"https://avatars0.githubusercontent.com/u/11578245?v=4","gravatar_id":"","url":"https://api.github.com/users/ssharba","html_url":"https://github.com/ssharba","followers_url":"https://api.github.com/users/ssharba/followers","following_url":"https://api.github.com/users/ssharba/following{/other_user}","gists_url":"https://api.github.com/users/ssharba/gists{/gist_id}","starred_url":"https://api.github.com/users/ssharba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssharba/subscriptions","organizations_url":"https://api.github.com/users/ssharba/orgs","repos_url":"https://api.github.com/users/ssharba/repos","events_url":"https://api.github.com/users/ssharba/events{/privacy}","received_events_url":"https://api.github.com/users/ssharba/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ssharba/gb-project","description":null,"fork":false,"url":"https://api.github.com/repos/ssharba/gb-project","forks_url":"https://api.github.com/repos/ssharba/gb-project/forks","keys_url":"https://api.github.com/repos/ssharba/gb-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssharba/gb-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssharba/gb-project/teams","hooks_url":"https://api.github.com/repos/ssharba/gb-project/hooks","issue_events_url":"https://api.github.com/repos/ssharba/gb-project/issues/events{/number}","events_url":"https://api.github.com/repos/ssharba/gb-project/events","assignees_url":"https://api.github.com/repos/ssharba/gb-project/assignees{/user}","branches_url":"https://api.github.com/repos/ssharba/gb-project/branches{/branch}","tags_url":"https://api.github.com/repos/ssharba/gb-project/tags","blobs_url":"https://api.github.com/repos/ssharba/gb-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssharba/gb-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssharba/gb-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssharba/gb-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssharba/gb-project/statuses/{sha}","languages_url":"https://api.github.com/repos/ssharba/gb-project/languages","stargazers_url":"https://api.github.com/repos/ssharba/gb-project/stargazers","contributors_url":"https://api.github.com/repos/ssharba/gb-project/contributors","subscribers_url":"https://api.github.com/repos/ssharba/gb-project/subscribers","subscription_url":"https://api.github.com/repos/ssharba/gb-project/subscription","commits_url":"https://api.github.com/repos/ssharba/gb-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssharba/gb-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssharba/gb-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssharba/gb-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/ssharba/gb-project/contents/{+path}","compare_url":"https://api.github.com/repos/ssharba/gb-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssharba/gb-project/merges","archive_url":"https://api.github.com/repos/ssharba/gb-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssharba/gb-project/downloads","issues_url":"https://api.github.com/repos/ssharba/gb-project/issues{/number}","pulls_url":"https://api.github.com/repos/ssharba/gb-project/pulls{/number}","milestones_url":"https://api.github.com/repos/ssharba/gb-project/milestones{/number}","notifications_url":"https://api.github.com/repos/ssharba/gb-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssharba/gb-project/labels{/name}","releases_url":"https://api.github.com/repos/ssharba/gb-project/releases{/id}","deployments_url":"https://api.github.com/repos/ssharba/gb-project/deployments","created_at":"2018-03-20T15:49:27Z","updated_at":"2018-03-21T15:20:33Z","pushed_at":"2018-03-28T19:50:59Z","git_url":"git://github.com/ssharba/gb-project.git","ssh_url":"git@github.com:ssharba/gb-project.git","clone_url":"https://github.com/ssharba/gb-project.git","svn_url":"https://github.com/ssharba/gb-project","homepage":null,"size":1561,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/ssharba/gb-project/pulls/6"},"html":{"href":"https://github.com/ssharba/gb-project/pull/6"},"issue":{"href":"https://api.github.com/repos/ssharba/gb-project/issues/6"},"comments":{"href":"https://api.github.com/repos/ssharba/gb-project/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/ssharba/gb-project/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/ssharba/gb-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ssharba/gb-project/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/ssharba/gb-project/statuses/57f5b427a1ea19b0f480f2d630135f33397a6595"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"MwMaki"}}