{"action":"created","comment":{"url":"https://api.github.com/repos/jacentyg/squash_app/pulls/comments/88867759","pull_request_review_id":9426143,"id":88867759,"diff_hunk":"@@ -29,19 +27,24 @@ def my_trainings\n   end\n \n   def show\n+    @training = Training.find(params[:id])\n+    @training_players = User.find(@training.participations.pluck(:user_id))","path":"app/controllers/trainings_controller.rb","position":null,"original_position":14,"commit_id":"1249966f3ab3e3b4f8a9667ee4e5eb8423dab0f9","original_commit_id":"c1d2935562c879cf73d94a7f2185d5f914ba0891","user":{"login":"jacentyg","id":18396021,"avatar_url":"https://avatars.githubusercontent.com/u/18396021?v=3","gravatar_id":"","url":"https://api.github.com/users/jacentyg","html_url":"https://github.com/jacentyg","followers_url":"https://api.github.com/users/jacentyg/followers","following_url":"https://api.github.com/users/jacentyg/following{/other_user}","gists_url":"https://api.github.com/users/jacentyg/gists{/gist_id}","starred_url":"https://api.github.com/users/jacentyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacentyg/subscriptions","organizations_url":"https://api.github.com/users/jacentyg/orgs","repos_url":"https://api.github.com/users/jacentyg/repos","events_url":"https://api.github.com/users/jacentyg/events{/privacy}","received_events_url":"https://api.github.com/users/jacentyg/received_events","type":"User","site_admin":false},"body":":+1: ","created_at":"2016-11-21T10:39:37Z","updated_at":"2016-11-21T10:39:37Z","html_url":"https://github.com/jacentyg/squash_app/pull/7#discussion_r88867759","pull_request_url":"https://api.github.com/repos/jacentyg/squash_app/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/jacentyg/squash_app/pulls/comments/88867759"},"html":{"href":"https://github.com/jacentyg/squash_app/pull/7#discussion_r88867759"},"pull_request":{"href":"https://api.github.com/repos/jacentyg/squash_app/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/jacentyg/squash_app/pulls/7","id":94030620,"html_url":"https://github.com/jacentyg/squash_app/pull/7","diff_url":"https://github.com/jacentyg/squash_app/pull/7.diff","patch_url":"https://github.com/jacentyg/squash_app/pull/7.patch","issue_url":"https://api.github.com/repos/jacentyg/squash_app/issues/7","number":7,"state":"open","locked":false,"title":"Refactor: Users & Trainings controller","user":{"login":"jacentyg","id":18396021,"avatar_url":"https://avatars.githubusercontent.com/u/18396021?v=3","gravatar_id":"","url":"https://api.github.com/users/jacentyg","html_url":"https://github.com/jacentyg","followers_url":"https://api.github.com/users/jacentyg/followers","following_url":"https://api.github.com/users/jacentyg/following{/other_user}","gists_url":"https://api.github.com/users/jacentyg/gists{/gist_id}","starred_url":"https://api.github.com/users/jacentyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacentyg/subscriptions","organizations_url":"https://api.github.com/users/jacentyg/orgs","repos_url":"https://api.github.com/users/jacentyg/repos","events_url":"https://api.github.com/users/jacentyg/events{/privacy}","received_events_url":"https://api.github.com/users/jacentyg/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-16T19:14:22Z","updated_at":"2016-11-21T10:39:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7c63342b908e765af5339b2bf241428fcba685d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jacentyg/squash_app/pulls/7/commits","review_comments_url":"https://api.github.com/repos/jacentyg/squash_app/pulls/7/comments","review_comment_url":"https://api.github.com/repos/jacentyg/squash_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jacentyg/squash_app/issues/7/comments","statuses_url":"https://api.github.com/repos/jacentyg/squash_app/statuses/1249966f3ab3e3b4f8a9667ee4e5eb8423dab0f9","head":{"label":"jacentyg:refactor-controllers","ref":"refactor-controllers","sha":"1249966f3ab3e3b4f8a9667ee4e5eb8423dab0f9","user":{"login":"jacentyg","id":18396021,"avatar_url":"https://avatars.githubusercontent.com/u/18396021?v=3","gravatar_id":"","url":"https://api.github.com/users/jacentyg","html_url":"https://github.com/jacentyg","followers_url":"https://api.github.com/users/jacentyg/followers","following_url":"https://api.github.com/users/jacentyg/following{/other_user}","gists_url":"https://api.github.com/users/jacentyg/gists{/gist_id}","starred_url":"https://api.github.com/users/jacentyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacentyg/subscriptions","organizations_url":"https://api.github.com/users/jacentyg/orgs","repos_url":"https://api.github.com/users/jacentyg/repos","events_url":"https://api.github.com/users/jacentyg/events{/privacy}","received_events_url":"https://api.github.com/users/jacentyg/received_events","type":"User","site_admin":false},"repo":{"id":56597008,"name":"squash_app","full_name":"jacentyg/squash_app","owner":{"login":"jacentyg","id":18396021,"avatar_url":"https://avatars.githubusercontent.com/u/18396021?v=3","gravatar_id":"","url":"https://api.github.com/users/jacentyg","html_url":"https://github.com/jacentyg","followers_url":"https://api.github.com/users/jacentyg/followers","following_url":"https://api.github.com/users/jacentyg/following{/other_user}","gists_url":"https://api.github.com/users/jacentyg/gists{/gist_id}","starred_url":"https://api.github.com/users/jacentyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacentyg/subscriptions","organizations_url":"https://api.github.com/users/jacentyg/orgs","repos_url":"https://api.github.com/users/jacentyg/repos","events_url":"https://api.github.com/users/jacentyg/events{/privacy}","received_events_url":"https://api.github.com/users/jacentyg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jacentyg/squash_app","description":null,"fork":false,"url":"https://api.github.com/repos/jacentyg/squash_app","forks_url":"https://api.github.com/repos/jacentyg/squash_app/forks","keys_url":"https://api.github.com/repos/jacentyg/squash_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jacentyg/squash_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jacentyg/squash_app/teams","hooks_url":"https://api.github.com/repos/jacentyg/squash_app/hooks","issue_events_url":"https://api.github.com/repos/jacentyg/squash_app/issues/events{/number}","events_url":"https://api.github.com/repos/jacentyg/squash_app/events","assignees_url":"https://api.github.com/repos/jacentyg/squash_app/assignees{/user}","branches_url":"https://api.github.com/repos/jacentyg/squash_app/branches{/branch}","tags_url":"https://api.github.com/repos/jacentyg/squash_app/tags","blobs_url":"https://api.github.com/repos/jacentyg/squash_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jacentyg/squash_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jacentyg/squash_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/jacentyg/squash_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jacentyg/squash_app/statuses/{sha}","languages_url":"https://api.github.com/repos/jacentyg/squash_app/languages","stargazers_url":"https://api.github.com/repos/jacentyg/squash_app/stargazers","contributors_url":"https://api.github.com/repos/jacentyg/squash_app/contributors","subscribers_url":"https://api.github.com/repos/jacentyg/squash_app/subscribers","subscription_url":"https://api.github.com/repos/jacentyg/squash_app/subscription","commits_url":"https://api.github.com/repos/jacentyg/squash_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/jacentyg/squash_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/jacentyg/squash_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/jacentyg/squash_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/jacentyg/squash_app/contents/{+path}","compare_url":"https://api.github.com/repos/jacentyg/squash_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jacentyg/squash_app/merges","archive_url":"https://api.github.com/repos/jacentyg/squash_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jacentyg/squash_app/downloads","issues_url":"https://api.github.com/repos/jacentyg/squash_app/issues{/number}","pulls_url":"https://api.github.com/repos/jacentyg/squash_app/pulls{/number}","milestones_url":"https://api.github.com/repos/jacentyg/squash_app/milestones{/number}","notifications_url":"https://api.github.com/repos/jacentyg/squash_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jacentyg/squash_app/labels{/name}","releases_url":"https://api.github.com/repos/jacentyg/squash_app/releases{/id}","deployments_url":"https://api.github.com/repos/jacentyg/squash_app/deployments","created_at":"2016-04-19T13:00:34Z","updated_at":"2016-04-20T11:32:16Z","pushed_at":"2016-11-21T10:34:59Z","git_url":"git://github.com/jacentyg/squash_app.git","ssh_url":"git@github.com:jacentyg/squash_app.git","clone_url":"https://github.com/jacentyg/squash_app.git","svn_url":"https://github.com/jacentyg/squash_app","homepage":null,"size":529,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"jacentyg:master","ref":"master","sha":"408af397af5f42719395b0c745c00cfedfcccae5","user":{"login":"jacentyg","id":18396021,"avatar_url":"https://avatars.githubusercontent.com/u/18396021?v=3","gravatar_id":"","url":"https://api.github.com/users/jacentyg","html_url":"https://github.com/jacentyg","followers_url":"https://api.github.com/users/jacentyg/followers","following_url":"https://api.github.com/users/jacentyg/following{/other_user}","gists_url":"https://api.github.com/users/jacentyg/gists{/gist_id}","starred_url":"https://api.github.com/users/jacentyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacentyg/subscriptions","organizations_url":"https://api.github.com/users/jacentyg/orgs","repos_url":"https://api.github.com/users/jacentyg/repos","events_url":"https://api.github.com/users/jacentyg/events{/privacy}","received_events_url":"https://api.github.com/users/jacentyg/received_events","type":"User","site_admin":false},"repo":{"id":56597008,"name":"squash_app","full_name":"jacentyg/squash_app","owner":{"login":"jacentyg","id":18396021,"avatar_url":"https://avatars.githubusercontent.com/u/18396021?v=3","gravatar_id":"","url":"https://api.github.com/users/jacentyg","html_url":"https://github.com/jacentyg","followers_url":"https://api.github.com/users/jacentyg/followers","following_url":"https://api.github.com/users/jacentyg/following{/other_user}","gists_url":"https://api.github.com/users/jacentyg/gists{/gist_id}","starred_url":"https://api.github.com/users/jacentyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacentyg/subscriptions","organizations_url":"https://api.github.com/users/jacentyg/orgs","repos_url":"https://api.github.com/users/jacentyg/repos","events_url":"https://api.github.com/users/jacentyg/events{/privacy}","received_events_url":"https://api.github.com/users/jacentyg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jacentyg/squash_app","description":null,"fork":false,"url":"https://api.github.com/repos/jacentyg/squash_app","forks_url":"https://api.github.com/repos/jacentyg/squash_app/forks","keys_url":"https://api.github.com/repos/jacentyg/squash_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jacentyg/squash_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jacentyg/squash_app/teams","hooks_url":"https://api.github.com/repos/jacentyg/squash_app/hooks","issue_events_url":"https://api.github.com/repos/jacentyg/squash_app/issues/events{/number}","events_url":"https://api.github.com/repos/jacentyg/squash_app/events","assignees_url":"https://api.github.com/repos/jacentyg/squash_app/assignees{/user}","branches_url":"https://api.github.com/repos/jacentyg/squash_app/branches{/branch}","tags_url":"https://api.github.com/repos/jacentyg/squash_app/tags","blobs_url":"https://api.github.com/repos/jacentyg/squash_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jacentyg/squash_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jacentyg/squash_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/jacentyg/squash_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jacentyg/squash_app/statuses/{sha}","languages_url":"https://api.github.com/repos/jacentyg/squash_app/languages","stargazers_url":"https://api.github.com/repos/jacentyg/squash_app/stargazers","contributors_url":"https://api.github.com/repos/jacentyg/squash_app/contributors","subscribers_url":"https://api.github.com/repos/jacentyg/squash_app/subscribers","subscription_url":"https://api.github.com/repos/jacentyg/squash_app/subscription","commits_url":"https://api.github.com/repos/jacentyg/squash_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/jacentyg/squash_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/jacentyg/squash_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/jacentyg/squash_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/jacentyg/squash_app/contents/{+path}","compare_url":"https://api.github.com/repos/jacentyg/squash_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jacentyg/squash_app/merges","archive_url":"https://api.github.com/repos/jacentyg/squash_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jacentyg/squash_app/downloads","issues_url":"https://api.github.com/repos/jacentyg/squash_app/issues{/number}","pulls_url":"https://api.github.com/repos/jacentyg/squash_app/pulls{/number}","milestones_url":"https://api.github.com/repos/jacentyg/squash_app/milestones{/number}","notifications_url":"https://api.github.com/repos/jacentyg/squash_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jacentyg/squash_app/labels{/name}","releases_url":"https://api.github.com/repos/jacentyg/squash_app/releases{/id}","deployments_url":"https://api.github.com/repos/jacentyg/squash_app/deployments","created_at":"2016-04-19T13:00:34Z","updated_at":"2016-04-20T11:32:16Z","pushed_at":"2016-11-21T10:34:59Z","git_url":"git://github.com/jacentyg/squash_app.git","ssh_url":"git@github.com:jacentyg/squash_app.git","clone_url":"https://github.com/jacentyg/squash_app.git","svn_url":"https://github.com/jacentyg/squash_app","homepage":null,"size":529,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jacentyg/squash_app/pulls/7"},"html":{"href":"https://github.com/jacentyg/squash_app/pull/7"},"issue":{"href":"https://api.github.com/repos/jacentyg/squash_app/issues/7"},"comments":{"href":"https://api.github.com/repos/jacentyg/squash_app/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/jacentyg/squash_app/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/jacentyg/squash_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jacentyg/squash_app/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/jacentyg/squash_app/statuses/1249966f3ab3e3b4f8a9667ee4e5eb8423dab0f9"}}}}
{"actor":{"display_login":"jacentyg"}}