{"action":"created","comment":{"url":"https://api.github.com/repos/Methodologists/metchess/pulls/comments/69065921","id":69065921,"diff_hunk":"@@ -1,8 +1,21 @@\n class Piece < ActiveRecord::Base\n+  belongs_to :user","path":"app/models/piece.rb","position":2,"original_position":2,"commit_id":"92c6fc0741ffb204cf5751a7073e30f6e22ac763","original_commit_id":"92c6fc0741ffb204cf5751a7073e30f6e22ac763","user":{"login":"lindyrp","id":16868576,"avatar_url":"https://avatars.githubusercontent.com/u/16868576?v=3","gravatar_id":"","url":"https://api.github.com/users/lindyrp","html_url":"https://github.com/lindyrp","followers_url":"https://api.github.com/users/lindyrp/followers","following_url":"https://api.github.com/users/lindyrp/following{/other_user}","gists_url":"https://api.github.com/users/lindyrp/gists{/gist_id}","starred_url":"https://api.github.com/users/lindyrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindyrp/subscriptions","organizations_url":"https://api.github.com/users/lindyrp/orgs","repos_url":"https://api.github.com/users/lindyrp/repos","events_url":"https://api.github.com/users/lindyrp/events{/privacy}","received_events_url":"https://api.github.com/users/lindyrp/received_events","type":"User","site_admin":false},"body":"Do we need this association? My understanding is that the the piece belongs to the game, then the game in turn belongs to the user.","created_at":"2016-06-30T03:49:55Z","updated_at":"2016-06-30T03:49:55Z","html_url":"https://github.com/Methodologists/metchess/pull/16#discussion_r69065921","pull_request_url":"https://api.github.com/repos/Methodologists/metchess/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/Methodologists/metchess/pulls/comments/69065921"},"html":{"href":"https://github.com/Methodologists/metchess/pull/16#discussion_r69065921"},"pull_request":{"href":"https://api.github.com/repos/Methodologists/metchess/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/Methodologists/metchess/pulls/16","id":75166829,"html_url":"https://github.com/Methodologists/metchess/pull/16","diff_url":"https://github.com/Methodologists/metchess/pull/16.diff","patch_url":"https://github.com/Methodologists/metchess/pull/16.patch","issue_url":"https://api.github.com/repos/Methodologists/metchess/issues/16","number":16,"state":"open","locked":false,"title":"Capture Pieces -- Ready for Review","user":{"login":"ruishine","id":11766508,"avatar_url":"https://avatars.githubusercontent.com/u/11766508?v=3","gravatar_id":"","url":"https://api.github.com/users/ruishine","html_url":"https://github.com/ruishine","followers_url":"https://api.github.com/users/ruishine/followers","following_url":"https://api.github.com/users/ruishine/following{/other_user}","gists_url":"https://api.github.com/users/ruishine/gists{/gist_id}","starred_url":"https://api.github.com/users/ruishine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruishine/subscriptions","organizations_url":"https://api.github.com/users/ruishine/orgs","repos_url":"https://api.github.com/users/ruishine/repos","events_url":"https://api.github.com/users/ruishine/events{/privacy}","received_events_url":"https://api.github.com/users/ruishine/received_events","type":"User","site_admin":false},"body":"Ready for Review\r\n\r\nmove_to! method created\r\ntests created","created_at":"2016-06-24T20:09:29Z","updated_at":"2016-06-30T03:49:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79241ee43a1593eeaefbe8334746ac33792dc6c2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Methodologists/metchess/pulls/16/commits","review_comments_url":"https://api.github.com/repos/Methodologists/metchess/pulls/16/comments","review_comment_url":"https://api.github.com/repos/Methodologists/metchess/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Methodologists/metchess/issues/16/comments","statuses_url":"https://api.github.com/repos/Methodologists/metchess/statuses/92c6fc0741ffb204cf5751a7073e30f6e22ac763","head":{"label":"Methodologists:capturepieces","ref":"capturepieces","sha":"92c6fc0741ffb204cf5751a7073e30f6e22ac763","user":{"login":"Methodologists","id":19860375,"avatar_url":"https://avatars.githubusercontent.com/u/19860375?v=3","gravatar_id":"","url":"https://api.github.com/users/Methodologists","html_url":"https://github.com/Methodologists","followers_url":"https://api.github.com/users/Methodologists/followers","following_url":"https://api.github.com/users/Methodologists/following{/other_user}","gists_url":"https://api.github.com/users/Methodologists/gists{/gist_id}","starred_url":"https://api.github.com/users/Methodologists/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Methodologists/subscriptions","organizations_url":"https://api.github.com/users/Methodologists/orgs","repos_url":"https://api.github.com/users/Methodologists/repos","events_url":"https://api.github.com/users/Methodologists/events{/privacy}","received_events_url":"https://api.github.com/users/Methodologists/received_events","type":"Organization","site_admin":false},"repo":{"id":60885134,"name":"metchess","full_name":"Methodologists/metchess","owner":{"login":"Methodologists","id":19860375,"avatar_url":"https://avatars.githubusercontent.com/u/19860375?v=3","gravatar_id":"","url":"https://api.github.com/users/Methodologists","html_url":"https://github.com/Methodologists","followers_url":"https://api.github.com/users/Methodologists/followers","following_url":"https://api.github.com/users/Methodologists/following{/other_user}","gists_url":"https://api.github.com/users/Methodologists/gists{/gist_id}","starred_url":"https://api.github.com/users/Methodologists/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Methodologists/subscriptions","organizations_url":"https://api.github.com/users/Methodologists/orgs","repos_url":"https://api.github.com/users/Methodologists/repos","events_url":"https://api.github.com/users/Methodologists/events{/privacy}","received_events_url":"https://api.github.com/users/Methodologists/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Methodologists/metchess","description":"","fork":false,"url":"https://api.github.com/repos/Methodologists/metchess","forks_url":"https://api.github.com/repos/Methodologists/metchess/forks","keys_url":"https://api.github.com/repos/Methodologists/metchess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Methodologists/metchess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Methodologists/metchess/teams","hooks_url":"https://api.github.com/repos/Methodologists/metchess/hooks","issue_events_url":"https://api.github.com/repos/Methodologists/metchess/issues/events{/number}","events_url":"https://api.github.com/repos/Methodologists/metchess/events","assignees_url":"https://api.github.com/repos/Methodologists/metchess/assignees{/user}","branches_url":"https://api.github.com/repos/Methodologists/metchess/branches{/branch}","tags_url":"https://api.github.com/repos/Methodologists/metchess/tags","blobs_url":"https://api.github.com/repos/Methodologists/metchess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Methodologists/metchess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Methodologists/metchess/git/refs{/sha}","trees_url":"https://api.github.com/repos/Methodologists/metchess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Methodologists/metchess/statuses/{sha}","languages_url":"https://api.github.com/repos/Methodologists/metchess/languages","stargazers_url":"https://api.github.com/repos/Methodologists/metchess/stargazers","contributors_url":"https://api.github.com/repos/Methodologists/metchess/contributors","subscribers_url":"https://api.github.com/repos/Methodologists/metchess/subscribers","subscription_url":"https://api.github.com/repos/Methodologists/metchess/subscription","commits_url":"https://api.github.com/repos/Methodologists/metchess/commits{/sha}","git_commits_url":"https://api.github.com/repos/Methodologists/metchess/git/commits{/sha}","comments_url":"https://api.github.com/repos/Methodologists/metchess/comments{/number}","issue_comment_url":"https://api.github.com/repos/Methodologists/metchess/issues/comments{/number}","contents_url":"https://api.github.com/repos/Methodologists/metchess/contents/{+path}","compare_url":"https://api.github.com/repos/Methodologists/metchess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Methodologists/metchess/merges","archive_url":"https://api.github.com/repos/Methodologists/metchess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Methodologists/metchess/downloads","issues_url":"https://api.github.com/repos/Methodologists/metchess/issues{/number}","pulls_url":"https://api.github.com/repos/Methodologists/metchess/pulls{/number}","milestones_url":"https://api.github.com/repos/Methodologists/metchess/milestones{/number}","notifications_url":"https://api.github.com/repos/Methodologists/metchess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Methodologists/metchess/labels{/name}","releases_url":"https://api.github.com/repos/Methodologists/metchess/releases{/id}","deployments_url":"https://api.github.com/repos/Methodologists/metchess/deployments","created_at":"2016-06-11T01:06:19Z","updated_at":"2016-06-11T01:16:23Z","pushed_at":"2016-06-30T03:22:35Z","git_url":"git://github.com/Methodologists/metchess.git","ssh_url":"git@github.com:Methodologists/metchess.git","clone_url":"https://github.com/Methodologists/metchess.git","svn_url":"https://github.com/Methodologists/metchess","homepage":null,"size":90,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Methodologists:master","ref":"master","sha":"73fc2cd4bccba2a9c68f383ab779d93ab7a1f679","user":{"login":"Methodologists","id":19860375,"avatar_url":"https://avatars.githubusercontent.com/u/19860375?v=3","gravatar_id":"","url":"https://api.github.com/users/Methodologists","html_url":"https://github.com/Methodologists","followers_url":"https://api.github.com/users/Methodologists/followers","following_url":"https://api.github.com/users/Methodologists/following{/other_user}","gists_url":"https://api.github.com/users/Methodologists/gists{/gist_id}","starred_url":"https://api.github.com/users/Methodologists/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Methodologists/subscriptions","organizations_url":"https://api.github.com/users/Methodologists/orgs","repos_url":"https://api.github.com/users/Methodologists/repos","events_url":"https://api.github.com/users/Methodologists/events{/privacy}","received_events_url":"https://api.github.com/users/Methodologists/received_events","type":"Organization","site_admin":false},"repo":{"id":60885134,"name":"metchess","full_name":"Methodologists/metchess","owner":{"login":"Methodologists","id":19860375,"avatar_url":"https://avatars.githubusercontent.com/u/19860375?v=3","gravatar_id":"","url":"https://api.github.com/users/Methodologists","html_url":"https://github.com/Methodologists","followers_url":"https://api.github.com/users/Methodologists/followers","following_url":"https://api.github.com/users/Methodologists/following{/other_user}","gists_url":"https://api.github.com/users/Methodologists/gists{/gist_id}","starred_url":"https://api.github.com/users/Methodologists/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Methodologists/subscriptions","organizations_url":"https://api.github.com/users/Methodologists/orgs","repos_url":"https://api.github.com/users/Methodologists/repos","events_url":"https://api.github.com/users/Methodologists/events{/privacy}","received_events_url":"https://api.github.com/users/Methodologists/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Methodologists/metchess","description":"","fork":false,"url":"https://api.github.com/repos/Methodologists/metchess","forks_url":"https://api.github.com/repos/Methodologists/metchess/forks","keys_url":"https://api.github.com/repos/Methodologists/metchess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Methodologists/metchess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Methodologists/metchess/teams","hooks_url":"https://api.github.com/repos/Methodologists/metchess/hooks","issue_events_url":"https://api.github.com/repos/Methodologists/metchess/issues/events{/number}","events_url":"https://api.github.com/repos/Methodologists/metchess/events","assignees_url":"https://api.github.com/repos/Methodologists/metchess/assignees{/user}","branches_url":"https://api.github.com/repos/Methodologists/metchess/branches{/branch}","tags_url":"https://api.github.com/repos/Methodologists/metchess/tags","blobs_url":"https://api.github.com/repos/Methodologists/metchess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Methodologists/metchess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Methodologists/metchess/git/refs{/sha}","trees_url":"https://api.github.com/repos/Methodologists/metchess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Methodologists/metchess/statuses/{sha}","languages_url":"https://api.github.com/repos/Methodologists/metchess/languages","stargazers_url":"https://api.github.com/repos/Methodologists/metchess/stargazers","contributors_url":"https://api.github.com/repos/Methodologists/metchess/contributors","subscribers_url":"https://api.github.com/repos/Methodologists/metchess/subscribers","subscription_url":"https://api.github.com/repos/Methodologists/metchess/subscription","commits_url":"https://api.github.com/repos/Methodologists/metchess/commits{/sha}","git_commits_url":"https://api.github.com/repos/Methodologists/metchess/git/commits{/sha}","comments_url":"https://api.github.com/repos/Methodologists/metchess/comments{/number}","issue_comment_url":"https://api.github.com/repos/Methodologists/metchess/issues/comments{/number}","contents_url":"https://api.github.com/repos/Methodologists/metchess/contents/{+path}","compare_url":"https://api.github.com/repos/Methodologists/metchess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Methodologists/metchess/merges","archive_url":"https://api.github.com/repos/Methodologists/metchess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Methodologists/metchess/downloads","issues_url":"https://api.github.com/repos/Methodologists/metchess/issues{/number}","pulls_url":"https://api.github.com/repos/Methodologists/metchess/pulls{/number}","milestones_url":"https://api.github.com/repos/Methodologists/metchess/milestones{/number}","notifications_url":"https://api.github.com/repos/Methodologists/metchess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Methodologists/metchess/labels{/name}","releases_url":"https://api.github.com/repos/Methodologists/metchess/releases{/id}","deployments_url":"https://api.github.com/repos/Methodologists/metchess/deployments","created_at":"2016-06-11T01:06:19Z","updated_at":"2016-06-11T01:16:23Z","pushed_at":"2016-06-30T03:22:35Z","git_url":"git://github.com/Methodologists/metchess.git","ssh_url":"git@github.com:Methodologists/metchess.git","clone_url":"https://github.com/Methodologists/metchess.git","svn_url":"https://github.com/Methodologists/metchess","homepage":null,"size":90,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Methodologists/metchess/pulls/16"},"html":{"href":"https://github.com/Methodologists/metchess/pull/16"},"issue":{"href":"https://api.github.com/repos/Methodologists/metchess/issues/16"},"comments":{"href":"https://api.github.com/repos/Methodologists/metchess/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/Methodologists/metchess/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/Methodologists/metchess/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Methodologists/metchess/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/Methodologists/metchess/statuses/92c6fc0741ffb204cf5751a7073e30f6e22ac763"}}}}
{"actor":{"display_login":"lindyrp"}}