{"action":"created","comment":{"url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls/comments/33563965","id":33563965,"diff_hunk":"@@ -7,10 +7,13 @@ class ContestantsController < ApplicationController\n \n     # GET /v1/contestants.json\n     def index\n-      editition_id = if params.has_key?(:edition)\n-        params[:editition]\n+      if params.has_key?(:edition)\n+        peditition_id = arams[:editition]","path":"app/controllers/v1/contestants_controller.rb","position":7,"original_position":7,"commit_id":"16697da99d7528037fb10679b829972ed3686414","original_commit_id":"16697da99d7528037fb10679b829972ed3686414","user":{"login":"hurrycane","id":2641,"avatar_url":"https://avatars.githubusercontent.com/u/2641?v=3","gravatar_id":"","url":"https://api.github.com/users/hurrycane","html_url":"https://github.com/hurrycane","followers_url":"https://api.github.com/users/hurrycane/followers","following_url":"https://api.github.com/users/hurrycane/following{/other_user}","gists_url":"https://api.github.com/users/hurrycane/gists{/gist_id}","starred_url":"https://api.github.com/users/hurrycane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hurrycane/subscriptions","organizations_url":"https://api.github.com/users/hurrycane/orgs","repos_url":"https://api.github.com/users/hurrycane/repos","events_url":"https://api.github.com/users/hurrycane/events{/privacy}","received_events_url":"https://api.github.com/users/hurrycane/received_events","type":"User","site_admin":false},"body":"s/arams/params","created_at":"2015-06-30T11:46:19Z","updated_at":"2015-06-30T11:46:19Z","html_url":"https://github.com/infoeducatie/infoeducatie-api/pull/53#discussion_r33563965","pull_request_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls/comments/33563965"},"html":{"href":"https://github.com/infoeducatie/infoeducatie-api/pull/53#discussion_r33563965"},"pull_request":{"href":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls/53","id":38868980,"html_url":"https://github.com/infoeducatie/infoeducatie-api/pull/53","diff_url":"https://github.com/infoeducatie/infoeducatie-api/pull/53.diff","patch_url":"https://github.com/infoeducatie/infoeducatie-api/pull/53.patch","issue_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/issues/53","number":53,"state":"open","locked":false,"title":"contestants: avoid an error when there is no edition","user":{"login":"robertdolca","id":383543,"avatar_url":"https://avatars.githubusercontent.com/u/383543?v=3","gravatar_id":"","url":"https://api.github.com/users/robertdolca","html_url":"https://github.com/robertdolca","followers_url":"https://api.github.com/users/robertdolca/followers","following_url":"https://api.github.com/users/robertdolca/following{/other_user}","gists_url":"https://api.github.com/users/robertdolca/gists{/gist_id}","starred_url":"https://api.github.com/users/robertdolca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertdolca/subscriptions","organizations_url":"https://api.github.com/users/robertdolca/orgs","repos_url":"https://api.github.com/users/robertdolca/repos","events_url":"https://api.github.com/users/robertdolca/events{/privacy}","received_events_url":"https://api.github.com/users/robertdolca/received_events","type":"User","site_admin":false},"body":"@hurrycane ","created_at":"2015-06-30T11:44:39Z","updated_at":"2015-06-30T11:46:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b1acaa71a1c4dcb9750932d8020b378f157bde0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls/53/commits","review_comments_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls/53/comments","review_comment_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/issues/53/comments","statuses_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/statuses/16697da99d7528037fb10679b829972ed3686414","head":{"label":"infoeducatie:contestants","ref":"contestants","sha":"16697da99d7528037fb10679b829972ed3686414","user":{"login":"infoeducatie","id":4788548,"avatar_url":"https://avatars.githubusercontent.com/u/4788548?v=3","gravatar_id":"","url":"https://api.github.com/users/infoeducatie","html_url":"https://github.com/infoeducatie","followers_url":"https://api.github.com/users/infoeducatie/followers","following_url":"https://api.github.com/users/infoeducatie/following{/other_user}","gists_url":"https://api.github.com/users/infoeducatie/gists{/gist_id}","starred_url":"https://api.github.com/users/infoeducatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infoeducatie/subscriptions","organizations_url":"https://api.github.com/users/infoeducatie/orgs","repos_url":"https://api.github.com/users/infoeducatie/repos","events_url":"https://api.github.com/users/infoeducatie/events{/privacy}","received_events_url":"https://api.github.com/users/infoeducatie/received_events","type":"Organization","site_admin":false},"repo":{"id":21791653,"name":"infoeducatie-api","full_name":"infoeducatie/infoeducatie-api","owner":{"login":"infoeducatie","id":4788548,"avatar_url":"https://avatars.githubusercontent.com/u/4788548?v=3","gravatar_id":"","url":"https://api.github.com/users/infoeducatie","html_url":"https://github.com/infoeducatie","followers_url":"https://api.github.com/users/infoeducatie/followers","following_url":"https://api.github.com/users/infoeducatie/following{/other_user}","gists_url":"https://api.github.com/users/infoeducatie/gists{/gist_id}","starred_url":"https://api.github.com/users/infoeducatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infoeducatie/subscriptions","organizations_url":"https://api.github.com/users/infoeducatie/orgs","repos_url":"https://api.github.com/users/infoeducatie/repos","events_url":"https://api.github.com/users/infoeducatie/events{/privacy}","received_events_url":"https://api.github.com/users/infoeducatie/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/infoeducatie/infoeducatie-api","description":"InfoEducatie website API","fork":false,"url":"https://api.github.com/repos/infoeducatie/infoeducatie-api","forks_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/forks","keys_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/teams","hooks_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/hooks","issue_events_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/issues/events{/number}","events_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/events","assignees_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/assignees{/user}","branches_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/branches{/branch}","tags_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/tags","blobs_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/statuses/{sha}","languages_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/languages","stargazers_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/stargazers","contributors_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/contributors","subscribers_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/subscribers","subscription_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/subscription","commits_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/contents/{+path}","compare_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/merges","archive_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/downloads","issues_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/issues{/number}","pulls_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls{/number}","milestones_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/milestones{/number}","notifications_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/labels{/name}","releases_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/releases{/id}","created_at":"2014-07-13T13:59:22Z","updated_at":"2015-06-29T15:23:32Z","pushed_at":"2015-06-30T11:44:40Z","git_url":"git://github.com/infoeducatie/infoeducatie-api.git","ssh_url":"git@github.com:infoeducatie/infoeducatie-api.git","clone_url":"https://github.com/infoeducatie/infoeducatie-api.git","svn_url":"https://github.com/infoeducatie/infoeducatie-api","homepage":"","size":678,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":20,"forks":1,"open_issues":20,"watchers":2,"default_branch":"master"}},"base":{"label":"infoeducatie:master","ref":"master","sha":"6a90428e11b5f692fd9ff6638bd51527acc1603a","user":{"login":"infoeducatie","id":4788548,"avatar_url":"https://avatars.githubusercontent.com/u/4788548?v=3","gravatar_id":"","url":"https://api.github.com/users/infoeducatie","html_url":"https://github.com/infoeducatie","followers_url":"https://api.github.com/users/infoeducatie/followers","following_url":"https://api.github.com/users/infoeducatie/following{/other_user}","gists_url":"https://api.github.com/users/infoeducatie/gists{/gist_id}","starred_url":"https://api.github.com/users/infoeducatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infoeducatie/subscriptions","organizations_url":"https://api.github.com/users/infoeducatie/orgs","repos_url":"https://api.github.com/users/infoeducatie/repos","events_url":"https://api.github.com/users/infoeducatie/events{/privacy}","received_events_url":"https://api.github.com/users/infoeducatie/received_events","type":"Organization","site_admin":false},"repo":{"id":21791653,"name":"infoeducatie-api","full_name":"infoeducatie/infoeducatie-api","owner":{"login":"infoeducatie","id":4788548,"avatar_url":"https://avatars.githubusercontent.com/u/4788548?v=3","gravatar_id":"","url":"https://api.github.com/users/infoeducatie","html_url":"https://github.com/infoeducatie","followers_url":"https://api.github.com/users/infoeducatie/followers","following_url":"https://api.github.com/users/infoeducatie/following{/other_user}","gists_url":"https://api.github.com/users/infoeducatie/gists{/gist_id}","starred_url":"https://api.github.com/users/infoeducatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infoeducatie/subscriptions","organizations_url":"https://api.github.com/users/infoeducatie/orgs","repos_url":"https://api.github.com/users/infoeducatie/repos","events_url":"https://api.github.com/users/infoeducatie/events{/privacy}","received_events_url":"https://api.github.com/users/infoeducatie/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/infoeducatie/infoeducatie-api","description":"InfoEducatie website API","fork":false,"url":"https://api.github.com/repos/infoeducatie/infoeducatie-api","forks_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/forks","keys_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/teams","hooks_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/hooks","issue_events_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/issues/events{/number}","events_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/events","assignees_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/assignees{/user}","branches_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/branches{/branch}","tags_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/tags","blobs_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/statuses/{sha}","languages_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/languages","stargazers_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/stargazers","contributors_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/contributors","subscribers_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/subscribers","subscription_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/subscription","commits_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/contents/{+path}","compare_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/merges","archive_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/downloads","issues_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/issues{/number}","pulls_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls{/number}","milestones_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/milestones{/number}","notifications_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/labels{/name}","releases_url":"https://api.github.com/repos/infoeducatie/infoeducatie-api/releases{/id}","created_at":"2014-07-13T13:59:22Z","updated_at":"2015-06-29T15:23:32Z","pushed_at":"2015-06-30T11:44:40Z","git_url":"git://github.com/infoeducatie/infoeducatie-api.git","ssh_url":"git@github.com:infoeducatie/infoeducatie-api.git","clone_url":"https://github.com/infoeducatie/infoeducatie-api.git","svn_url":"https://github.com/infoeducatie/infoeducatie-api","homepage":"","size":678,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":20,"forks":1,"open_issues":20,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls/53"},"html":{"href":"https://github.com/infoeducatie/infoeducatie-api/pull/53"},"issue":{"href":"https://api.github.com/repos/infoeducatie/infoeducatie-api/issues/53"},"comments":{"href":"https://api.github.com/repos/infoeducatie/infoeducatie-api/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/infoeducatie/infoeducatie-api/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/infoeducatie/infoeducatie-api/statuses/16697da99d7528037fb10679b829972ed3686414"}}}}