{"action":"created","comment":{"url":"https://api.github.com/repos/exercism/exercism.io/pulls/comments/72882828","id":72882828,"diff_hunk":"@@ -66,6 +66,28 @@ class Exercises < Core\n         redirect '/dashboard'\n       end\n \n+      post '/exercises/:key/request-for-help' do |key|\n+        exercise = UserExercise.find_by_key(key)\n+        unless current_user.owns?(exercise)\n+          flash[:notice] = \"Only the author may request help.\"\n+          redirect '/'\n+        end\n+        exercise.request_help!\n+        flash[:success] = \"You have requested help on this submission.\"\n+        redirect \"/submissions/%s\" % exercise.submissions.last.key\n+      end\n+\n+      delete '/exercises/:key/request-for-help' do |key|\n+        exercise = UserExercise.find_by_key(key)\n+        unless current_user.owns?(exercise)\n+          flash[:notice] = \"Only the author may cancel a request for help.\"\n+          redirect '/'\n+        end","path":"app/routes/exercises.rb","position":20,"original_position":20,"commit_id":"879569632713369efc006ea7f04ee7c5eb66363c","original_commit_id":"879569632713369efc006ea7f04ee7c5eb66363c","user":{"login":"ramyaravindranath","id":8723247,"avatar_url":"https://avatars.githubusercontent.com/u/8723247?v=3","gravatar_id":"","url":"https://api.github.com/users/ramyaravindranath","html_url":"https://github.com/ramyaravindranath","followers_url":"https://api.github.com/users/ramyaravindranath/followers","following_url":"https://api.github.com/users/ramyaravindranath/following{/other_user}","gists_url":"https://api.github.com/users/ramyaravindranath/gists{/gist_id}","starred_url":"https://api.github.com/users/ramyaravindranath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramyaravindranath/subscriptions","organizations_url":"https://api.github.com/users/ramyaravindranath/orgs","repos_url":"https://api.github.com/users/ramyaravindranath/repos","events_url":"https://api.github.com/users/ramyaravindranath/events{/privacy}","received_events_url":"https://api.github.com/users/ramyaravindranath/received_events","type":"User","site_admin":false},"body":"@Insti I have look into above link. It shows the methods I have added are covered by tests. I can see all my changes in the new commit. I am not sure what else needs to be done. I will check on this and get back to you!","created_at":"2016-07-30T06:14:47Z","updated_at":"2016-07-30T06:14:47Z","html_url":"https://github.com/exercism/exercism.io/pull/2995#discussion_r72882828","pull_request_url":"https://api.github.com/repos/exercism/exercism.io/pulls/2995","_links":{"self":{"href":"https://api.github.com/repos/exercism/exercism.io/pulls/comments/72882828"},"html":{"href":"https://github.com/exercism/exercism.io/pull/2995#discussion_r72882828"},"pull_request":{"href":"https://api.github.com/repos/exercism/exercism.io/pulls/2995"}}},"pull_request":{"url":"https://api.github.com/repos/exercism/exercism.io/pulls/2995","id":78967937,"html_url":"https://github.com/exercism/exercism.io/pull/2995","diff_url":"https://github.com/exercism/exercism.io/pull/2995.diff","patch_url":"https://github.com/exercism/exercism.io/pull/2995.patch","issue_url":"https://api.github.com/repos/exercism/exercism.io/issues/2995","number":2995,"state":"open","locked":false,"title":"Add help request option to submissions page. (was: help flag2)","user":{"login":"ramyaravindranath","id":8723247,"avatar_url":"https://avatars.githubusercontent.com/u/8723247?v=3","gravatar_id":"","url":"https://api.github.com/users/ramyaravindranath","html_url":"https://github.com/ramyaravindranath","followers_url":"https://api.github.com/users/ramyaravindranath/followers","following_url":"https://api.github.com/users/ramyaravindranath/following{/other_user}","gists_url":"https://api.github.com/users/ramyaravindranath/gists{/gist_id}","starred_url":"https://api.github.com/users/ramyaravindranath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramyaravindranath/subscriptions","organizations_url":"https://api.github.com/users/ramyaravindranath/orgs","repos_url":"https://api.github.com/users/ramyaravindranath/repos","events_url":"https://api.github.com/users/ramyaravindranath/events{/privacy}","received_events_url":"https://api.github.com/users/ramyaravindranath/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-27T05:40:30Z","updated_at":"2016-07-30T06:14:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78d447831a7393305400ce33969ac11b30f02273","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/exercism/exercism.io/pulls/2995/commits","review_comments_url":"https://api.github.com/repos/exercism/exercism.io/pulls/2995/comments","review_comment_url":"https://api.github.com/repos/exercism/exercism.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exercism/exercism.io/issues/2995/comments","statuses_url":"https://api.github.com/repos/exercism/exercism.io/statuses/879569632713369efc006ea7f04ee7c5eb66363c","head":{"label":"TeamVegemite:help_flag2","ref":"help_flag2","sha":"879569632713369efc006ea7f04ee7c5eb66363c","user":{"login":"TeamVegemite","id":20309589,"avatar_url":"https://avatars.githubusercontent.com/u/20309589?v=3","gravatar_id":"","url":"https://api.github.com/users/TeamVegemite","html_url":"https://github.com/TeamVegemite","followers_url":"https://api.github.com/users/TeamVegemite/followers","following_url":"https://api.github.com/users/TeamVegemite/following{/other_user}","gists_url":"https://api.github.com/users/TeamVegemite/gists{/gist_id}","starred_url":"https://api.github.com/users/TeamVegemite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeamVegemite/subscriptions","organizations_url":"https://api.github.com/users/TeamVegemite/orgs","repos_url":"https://api.github.com/users/TeamVegemite/repos","events_url":"https://api.github.com/users/TeamVegemite/events{/privacy}","received_events_url":"https://api.github.com/users/TeamVegemite/received_events","type":"Organization","site_admin":false},"repo":{"id":62520233,"name":"exercism.io","full_name":"TeamVegemite/exercism.io","owner":{"login":"TeamVegemite","id":20309589,"avatar_url":"https://avatars.githubusercontent.com/u/20309589?v=3","gravatar_id":"","url":"https://api.github.com/users/TeamVegemite","html_url":"https://github.com/TeamVegemite","followers_url":"https://api.github.com/users/TeamVegemite/followers","following_url":"https://api.github.com/users/TeamVegemite/following{/other_user}","gists_url":"https://api.github.com/users/TeamVegemite/gists{/gist_id}","starred_url":"https://api.github.com/users/TeamVegemite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeamVegemite/subscriptions","organizations_url":"https://api.github.com/users/TeamVegemite/orgs","repos_url":"https://api.github.com/users/TeamVegemite/repos","events_url":"https://api.github.com/users/TeamVegemite/events{/privacy}","received_events_url":"https://api.github.com/users/TeamVegemite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TeamVegemite/exercism.io","description":"Level up your programming skills.","fork":true,"url":"https://api.github.com/repos/TeamVegemite/exercism.io","forks_url":"https://api.github.com/repos/TeamVegemite/exercism.io/forks","keys_url":"https://api.github.com/repos/TeamVegemite/exercism.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TeamVegemite/exercism.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TeamVegemite/exercism.io/teams","hooks_url":"https://api.github.com/repos/TeamVegemite/exercism.io/hooks","issue_events_url":"https://api.github.com/repos/TeamVegemite/exercism.io/issues/events{/number}","events_url":"https://api.github.com/repos/TeamVegemite/exercism.io/events","assignees_url":"https://api.github.com/repos/TeamVegemite/exercism.io/assignees{/user}","branches_url":"https://api.github.com/repos/TeamVegemite/exercism.io/branches{/branch}","tags_url":"https://api.github.com/repos/TeamVegemite/exercism.io/tags","blobs_url":"https://api.github.com/repos/TeamVegemite/exercism.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TeamVegemite/exercism.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TeamVegemite/exercism.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/TeamVegemite/exercism.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TeamVegemite/exercism.io/statuses/{sha}","languages_url":"https://api.github.com/repos/TeamVegemite/exercism.io/languages","stargazers_url":"https://api.github.com/repos/TeamVegemite/exercism.io/stargazers","contributors_url":"https://api.github.com/repos/TeamVegemite/exercism.io/contributors","subscribers_url":"https://api.github.com/repos/TeamVegemite/exercism.io/subscribers","subscription_url":"https://api.github.com/repos/TeamVegemite/exercism.io/subscription","commits_url":"https://api.github.com/repos/TeamVegemite/exercism.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/TeamVegemite/exercism.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/TeamVegemite/exercism.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/TeamVegemite/exercism.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/TeamVegemite/exercism.io/contents/{+path}","compare_url":"https://api.github.com/repos/TeamVegemite/exercism.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TeamVegemite/exercism.io/merges","archive_url":"https://api.github.com/repos/TeamVegemite/exercism.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TeamVegemite/exercism.io/downloads","issues_url":"https://api.github.com/repos/TeamVegemite/exercism.io/issues{/number}","pulls_url":"https://api.github.com/repos/TeamVegemite/exercism.io/pulls{/number}","milestones_url":"https://api.github.com/repos/TeamVegemite/exercism.io/milestones{/number}","notifications_url":"https://api.github.com/repos/TeamVegemite/exercism.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TeamVegemite/exercism.io/labels{/name}","releases_url":"https://api.github.com/repos/TeamVegemite/exercism.io/releases{/id}","deployments_url":"https://api.github.com/repos/TeamVegemite/exercism.io/deployments","created_at":"2016-07-04T00:07:54Z","updated_at":"2016-07-19T07:49:37Z","pushed_at":"2016-07-30T05:54:08Z","git_url":"git://github.com/TeamVegemite/exercism.io.git","ssh_url":"git@github.com:TeamVegemite/exercism.io.git","clone_url":"https://github.com/TeamVegemite/exercism.io.git","svn_url":"https://github.com/TeamVegemite/exercism.io","homepage":"http://exercism.io","size":14748,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"exercism:master","ref":"master","sha":"9be3035ca3da39a46399d7bd05e43193b7840f0a","user":{"login":"exercism","id":5624255,"avatar_url":"https://avatars.githubusercontent.com/u/5624255?v=3","gravatar_id":"","url":"https://api.github.com/users/exercism","html_url":"https://github.com/exercism","followers_url":"https://api.github.com/users/exercism/followers","following_url":"https://api.github.com/users/exercism/following{/other_user}","gists_url":"https://api.github.com/users/exercism/gists{/gist_id}","starred_url":"https://api.github.com/users/exercism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exercism/subscriptions","organizations_url":"https://api.github.com/users/exercism/orgs","repos_url":"https://api.github.com/users/exercism/repos","events_url":"https://api.github.com/users/exercism/events{/privacy}","received_events_url":"https://api.github.com/users/exercism/received_events","type":"Organization","site_admin":false},"repo":{"id":10395188,"name":"exercism.io","full_name":"exercism/exercism.io","owner":{"login":"exercism","id":5624255,"avatar_url":"https://avatars.githubusercontent.com/u/5624255?v=3","gravatar_id":"","url":"https://api.github.com/users/exercism","html_url":"https://github.com/exercism","followers_url":"https://api.github.com/users/exercism/followers","following_url":"https://api.github.com/users/exercism/following{/other_user}","gists_url":"https://api.github.com/users/exercism/gists{/gist_id}","starred_url":"https://api.github.com/users/exercism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exercism/subscriptions","organizations_url":"https://api.github.com/users/exercism/orgs","repos_url":"https://api.github.com/users/exercism/repos","events_url":"https://api.github.com/users/exercism/events{/privacy}","received_events_url":"https://api.github.com/users/exercism/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exercism/exercism.io","description":"Level up your programming skills.","fork":false,"url":"https://api.github.com/repos/exercism/exercism.io","forks_url":"https://api.github.com/repos/exercism/exercism.io/forks","keys_url":"https://api.github.com/repos/exercism/exercism.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exercism/exercism.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exercism/exercism.io/teams","hooks_url":"https://api.github.com/repos/exercism/exercism.io/hooks","issue_events_url":"https://api.github.com/repos/exercism/exercism.io/issues/events{/number}","events_url":"https://api.github.com/repos/exercism/exercism.io/events","assignees_url":"https://api.github.com/repos/exercism/exercism.io/assignees{/user}","branches_url":"https://api.github.com/repos/exercism/exercism.io/branches{/branch}","tags_url":"https://api.github.com/repos/exercism/exercism.io/tags","blobs_url":"https://api.github.com/repos/exercism/exercism.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exercism/exercism.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exercism/exercism.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/exercism/exercism.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exercism/exercism.io/statuses/{sha}","languages_url":"https://api.github.com/repos/exercism/exercism.io/languages","stargazers_url":"https://api.github.com/repos/exercism/exercism.io/stargazers","contributors_url":"https://api.github.com/repos/exercism/exercism.io/contributors","subscribers_url":"https://api.github.com/repos/exercism/exercism.io/subscribers","subscription_url":"https://api.github.com/repos/exercism/exercism.io/subscription","commits_url":"https://api.github.com/repos/exercism/exercism.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/exercism/exercism.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/exercism/exercism.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/exercism/exercism.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/exercism/exercism.io/contents/{+path}","compare_url":"https://api.github.com/repos/exercism/exercism.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exercism/exercism.io/merges","archive_url":"https://api.github.com/repos/exercism/exercism.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exercism/exercism.io/downloads","issues_url":"https://api.github.com/repos/exercism/exercism.io/issues{/number}","pulls_url":"https://api.github.com/repos/exercism/exercism.io/pulls{/number}","milestones_url":"https://api.github.com/repos/exercism/exercism.io/milestones{/number}","notifications_url":"https://api.github.com/repos/exercism/exercism.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exercism/exercism.io/labels{/name}","releases_url":"https://api.github.com/repos/exercism/exercism.io/releases{/id}","deployments_url":"https://api.github.com/repos/exercism/exercism.io/deployments","created_at":"2013-05-31T00:53:50Z","updated_at":"2016-07-29T13:09:54Z","pushed_at":"2016-07-30T05:54:10Z","git_url":"git://github.com/exercism/exercism.io.git","ssh_url":"git@github.com:exercism/exercism.io.git","clone_url":"https://github.com/exercism/exercism.io.git","svn_url":"https://github.com/exercism/exercism.io","homepage":"http://exercism.io","size":28411,"stargazers_count":2254,"watchers_count":2254,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":682,"mirror_url":null,"open_issues_count":154,"forks":682,"open_issues":154,"watchers":2254,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exercism/exercism.io/pulls/2995"},"html":{"href":"https://github.com/exercism/exercism.io/pull/2995"},"issue":{"href":"https://api.github.com/repos/exercism/exercism.io/issues/2995"},"comments":{"href":"https://api.github.com/repos/exercism/exercism.io/issues/2995/comments"},"review_comments":{"href":"https://api.github.com/repos/exercism/exercism.io/pulls/2995/comments"},"review_comment":{"href":"https://api.github.com/repos/exercism/exercism.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exercism/exercism.io/pulls/2995/commits"},"statuses":{"href":"https://api.github.com/repos/exercism/exercism.io/statuses/879569632713369efc006ea7f04ee7c5eb66363c"}}}}
{"actor":{"display_login":"ramyaravindranath"}}