{"action":"created","comment":{"url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/comments/46813968","id":46813968,"diff_hunk":"@@ -19,7 +19,10 @@ def create\n     attr = params.require(:tournament).permit(:name, :description, :opened_at)\n     attr[:uuid] = SecureRandom.uuid\n     @tournament = Tournament.new(attr)\n-    4.times { @tournament.participants.build }\n+    default_count = 4","path":"app/controllers/tournaments_controller.rb","position":null,"original_position":5,"commit_id":"da6f4abb24a5e1aa95e278c79c072e1e7ecd8350","original_commit_id":"d5a7e65390ae1f4cc195100ebc02b64b647d467c","user":{"login":"ashibata","id":1381840,"avatar_url":"https://avatars.githubusercontent.com/u/1381840?v=3","gravatar_id":"","url":"https://api.github.com/users/ashibata","html_url":"https://github.com/ashibata","followers_url":"https://api.github.com/users/ashibata/followers","following_url":"https://api.github.com/users/ashibata/following{/other_user}","gists_url":"https://api.github.com/users/ashibata/gists{/gist_id}","starred_url":"https://api.github.com/users/ashibata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashibata/subscriptions","organizations_url":"https://api.github.com/users/ashibata/orgs","repos_url":"https://api.github.com/users/ashibata/repos","events_url":"https://api.github.com/users/ashibata/events{/privacy}","received_events_url":"https://api.github.com/users/ashibata/received_events","type":"User","site_admin":false},"body":"fixed all of the issues which were pointed out","created_at":"2015-12-07T12:08:26Z","updated_at":"2015-12-07T12:08:26Z","html_url":"https://github.com/tachibanakikaku/scoredoc2/pull/56#discussion_r46813968","pull_request_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/comments/46813968"},"html":{"href":"https://github.com/tachibanakikaku/scoredoc2/pull/56#discussion_r46813968"},"pull_request":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/56","id":51749671,"html_url":"https://github.com/tachibanakikaku/scoredoc2/pull/56","diff_url":"https://github.com/tachibanakikaku/scoredoc2/pull/56.diff","patch_url":"https://github.com/tachibanakikaku/scoredoc2/pull/56.patch","issue_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/56","number":56,"state":"open","locked":false,"title":"Create game data when tournament created","user":{"login":"ashibata","id":1381840,"avatar_url":"https://avatars.githubusercontent.com/u/1381840?v=3","gravatar_id":"","url":"https://api.github.com/users/ashibata","html_url":"https://github.com/ashibata","followers_url":"https://api.github.com/users/ashibata/followers","following_url":"https://api.github.com/users/ashibata/following{/other_user}","gists_url":"https://api.github.com/users/ashibata/gists{/gist_id}","starred_url":"https://api.github.com/users/ashibata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashibata/subscriptions","organizations_url":"https://api.github.com/users/ashibata/orgs","repos_url":"https://api.github.com/users/ashibata/repos","events_url":"https://api.github.com/users/ashibata/events{/privacy}","received_events_url":"https://api.github.com/users/ashibata/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-25T03:48:50Z","updated_at":"2015-12-07T12:08:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78fbf538049afc53751ab088fbee6391b43e11af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/56/commits","review_comments_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/56/comments","review_comment_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/56/comments","statuses_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/statuses/da6f4abb24a5e1aa95e278c79c072e1e7ecd8350","head":{"label":"tachibanakikaku:create_game_data_when_tournament_created","ref":"create_game_data_when_tournament_created","sha":"da6f4abb24a5e1aa95e278c79c072e1e7ecd8350","user":{"login":"tachibanakikaku","id":3782628,"avatar_url":"https://avatars.githubusercontent.com/u/3782628?v=3","gravatar_id":"","url":"https://api.github.com/users/tachibanakikaku","html_url":"https://github.com/tachibanakikaku","followers_url":"https://api.github.com/users/tachibanakikaku/followers","following_url":"https://api.github.com/users/tachibanakikaku/following{/other_user}","gists_url":"https://api.github.com/users/tachibanakikaku/gists{/gist_id}","starred_url":"https://api.github.com/users/tachibanakikaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tachibanakikaku/subscriptions","organizations_url":"https://api.github.com/users/tachibanakikaku/orgs","repos_url":"https://api.github.com/users/tachibanakikaku/repos","events_url":"https://api.github.com/users/tachibanakikaku/events{/privacy}","received_events_url":"https://api.github.com/users/tachibanakikaku/received_events","type":"Organization","site_admin":false},"repo":{"id":25526886,"name":"scoredoc2","full_name":"tachibanakikaku/scoredoc2","owner":{"login":"tachibanakikaku","id":3782628,"avatar_url":"https://avatars.githubusercontent.com/u/3782628?v=3","gravatar_id":"","url":"https://api.github.com/users/tachibanakikaku","html_url":"https://github.com/tachibanakikaku","followers_url":"https://api.github.com/users/tachibanakikaku/followers","following_url":"https://api.github.com/users/tachibanakikaku/following{/other_user}","gists_url":"https://api.github.com/users/tachibanakikaku/gists{/gist_id}","starred_url":"https://api.github.com/users/tachibanakikaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tachibanakikaku/subscriptions","organizations_url":"https://api.github.com/users/tachibanakikaku/orgs","repos_url":"https://api.github.com/users/tachibanakikaku/repos","events_url":"https://api.github.com/users/tachibanakikaku/events{/privacy}","received_events_url":"https://api.github.com/users/tachibanakikaku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tachibanakikaku/scoredoc2","description":"","fork":false,"url":"https://api.github.com/repos/tachibanakikaku/scoredoc2","forks_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/forks","keys_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/teams","hooks_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/hooks","issue_events_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/events{/number}","events_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/events","assignees_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/assignees{/user}","branches_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/branches{/branch}","tags_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/tags","blobs_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/refs{/sha}","trees_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/statuses/{sha}","languages_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/languages","stargazers_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/stargazers","contributors_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/contributors","subscribers_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/subscribers","subscription_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/subscription","commits_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/commits{/sha}","git_commits_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/commits{/sha}","comments_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/comments{/number}","issue_comment_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/comments{/number}","contents_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/contents/{+path}","compare_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/merges","archive_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/downloads","issues_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues{/number}","pulls_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls{/number}","milestones_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/milestones{/number}","notifications_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/labels{/name}","releases_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/releases{/id}","created_at":"2014-10-21T14:28:52Z","updated_at":"2015-02-26T12:56:23Z","pushed_at":"2015-12-07T12:04:19Z","git_url":"git://github.com/tachibanakikaku/scoredoc2.git","ssh_url":"git@github.com:tachibanakikaku/scoredoc2.git","clone_url":"https://github.com/tachibanakikaku/scoredoc2.git","svn_url":"https://github.com/tachibanakikaku/scoredoc2","homepage":null,"size":1053,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"tachibanakikaku:master","ref":"master","sha":"0ba91d399adc376c59ec23653f97bfc8b3a3d49a","user":{"login":"tachibanakikaku","id":3782628,"avatar_url":"https://avatars.githubusercontent.com/u/3782628?v=3","gravatar_id":"","url":"https://api.github.com/users/tachibanakikaku","html_url":"https://github.com/tachibanakikaku","followers_url":"https://api.github.com/users/tachibanakikaku/followers","following_url":"https://api.github.com/users/tachibanakikaku/following{/other_user}","gists_url":"https://api.github.com/users/tachibanakikaku/gists{/gist_id}","starred_url":"https://api.github.com/users/tachibanakikaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tachibanakikaku/subscriptions","organizations_url":"https://api.github.com/users/tachibanakikaku/orgs","repos_url":"https://api.github.com/users/tachibanakikaku/repos","events_url":"https://api.github.com/users/tachibanakikaku/events{/privacy}","received_events_url":"https://api.github.com/users/tachibanakikaku/received_events","type":"Organization","site_admin":false},"repo":{"id":25526886,"name":"scoredoc2","full_name":"tachibanakikaku/scoredoc2","owner":{"login":"tachibanakikaku","id":3782628,"avatar_url":"https://avatars.githubusercontent.com/u/3782628?v=3","gravatar_id":"","url":"https://api.github.com/users/tachibanakikaku","html_url":"https://github.com/tachibanakikaku","followers_url":"https://api.github.com/users/tachibanakikaku/followers","following_url":"https://api.github.com/users/tachibanakikaku/following{/other_user}","gists_url":"https://api.github.com/users/tachibanakikaku/gists{/gist_id}","starred_url":"https://api.github.com/users/tachibanakikaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tachibanakikaku/subscriptions","organizations_url":"https://api.github.com/users/tachibanakikaku/orgs","repos_url":"https://api.github.com/users/tachibanakikaku/repos","events_url":"https://api.github.com/users/tachibanakikaku/events{/privacy}","received_events_url":"https://api.github.com/users/tachibanakikaku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tachibanakikaku/scoredoc2","description":"","fork":false,"url":"https://api.github.com/repos/tachibanakikaku/scoredoc2","forks_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/forks","keys_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/teams","hooks_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/hooks","issue_events_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/events{/number}","events_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/events","assignees_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/assignees{/user}","branches_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/branches{/branch}","tags_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/tags","blobs_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/refs{/sha}","trees_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/statuses/{sha}","languages_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/languages","stargazers_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/stargazers","contributors_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/contributors","subscribers_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/subscribers","subscription_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/subscription","commits_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/commits{/sha}","git_commits_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/git/commits{/sha}","comments_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/comments{/number}","issue_comment_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/comments{/number}","contents_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/contents/{+path}","compare_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/merges","archive_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/downloads","issues_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues{/number}","pulls_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls{/number}","milestones_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/milestones{/number}","notifications_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/labels{/name}","releases_url":"https://api.github.com/repos/tachibanakikaku/scoredoc2/releases{/id}","created_at":"2014-10-21T14:28:52Z","updated_at":"2015-02-26T12:56:23Z","pushed_at":"2015-12-07T12:04:19Z","git_url":"git://github.com/tachibanakikaku/scoredoc2.git","ssh_url":"git@github.com:tachibanakikaku/scoredoc2.git","clone_url":"https://github.com/tachibanakikaku/scoredoc2.git","svn_url":"https://github.com/tachibanakikaku/scoredoc2","homepage":null,"size":1053,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/56"},"html":{"href":"https://github.com/tachibanakikaku/scoredoc2/pull/56"},"issue":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/56"},"comments":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/tachibanakikaku/scoredoc2/statuses/da6f4abb24a5e1aa95e278c79c072e1e7ecd8350"}}}}