{"action":"created","comment":{"url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls/comments/31363213","id":31363213,"diff_hunk":"@@ -0,0 +1,38 @@\n+get '/surveys/all' do\n+  all_surveys = Survey.all\n+  erb :'surveys/all', locals: {surveys: all_surveys}\n+end\n+\n+get '/surveys/:id' do\n+  cur_survey = Survey.find_by(id: params[:id])","path":"app/controllers/surveys.rb","position":7,"original_position":7,"commit_id":"57f49bdbbf65a1242d45e1d173d1c047f87cbaab","original_commit_id":"57f49bdbbf65a1242d45e1d173d1c047f87cbaab","user":{"login":"sbelkin88","id":9864657,"avatar_url":"https://avatars.githubusercontent.com/u/9864657?v=3","gravatar_id":"","url":"https://api.github.com/users/sbelkin88","html_url":"https://github.com/sbelkin88","followers_url":"https://api.github.com/users/sbelkin88/followers","following_url":"https://api.github.com/users/sbelkin88/following{/other_user}","gists_url":"https://api.github.com/users/sbelkin88/gists{/gist_id}","starred_url":"https://api.github.com/users/sbelkin88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbelkin88/subscriptions","organizations_url":"https://api.github.com/users/sbelkin88/orgs","repos_url":"https://api.github.com/users/sbelkin88/repos","events_url":"https://api.github.com/users/sbelkin88/events{/privacy}","received_events_url":"https://api.github.com/users/sbelkin88/received_events","type":"User","site_admin":false},"body":"add in a line here saying require_logged_in","created_at":"2015-05-29T20:45:45Z","updated_at":"2015-05-29T20:45:45Z","html_url":"https://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pull/2#discussion_r31363213","pull_request_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls/comments/31363213"},"html":{"href":"https://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pull/2#discussion_r31363213"},"pull_request":{"href":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls/2","id":36542960,"html_url":"https://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pull/2","diff_url":"https://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pull/2.diff","patch_url":"https://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pull/2.patch","issue_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/issues/2","number":2,"state":"open","locked":false,"title":"add sruvey functionality","user":{"login":"laurisbernhart","id":10515029,"avatar_url":"https://avatars.githubusercontent.com/u/10515029?v=3","gravatar_id":"","url":"https://api.github.com/users/laurisbernhart","html_url":"https://github.com/laurisbernhart","followers_url":"https://api.github.com/users/laurisbernhart/followers","following_url":"https://api.github.com/users/laurisbernhart/following{/other_user}","gists_url":"https://api.github.com/users/laurisbernhart/gists{/gist_id}","starred_url":"https://api.github.com/users/laurisbernhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurisbernhart/subscriptions","organizations_url":"https://api.github.com/users/laurisbernhart/orgs","repos_url":"https://api.github.com/users/laurisbernhart/repos","events_url":"https://api.github.com/users/laurisbernhart/events{/privacy}","received_events_url":"https://api.github.com/users/laurisbernhart/received_events","type":"User","site_admin":false},"body":"hey git-masterin pls check this out\r\n\r\n@sbelkin88 ","created_at":"2015-05-29T20:40:16Z","updated_at":"2015-05-29T20:45:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"805e46ee2f773aa489dc2441c9cb8b38cf3c1667","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls/2/commits","review_comments_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls/2/comments","review_comment_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/issues/2/comments","statuses_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/statuses/57f49bdbbf65a1242d45e1d173d1c047f87cbaab","head":{"label":"nyc-fiery-skippers-2015:lauris-add-surveys","ref":"lauris-add-surveys","sha":"57f49bdbbf65a1242d45e1d173d1c047f87cbaab","user":{"login":"nyc-fiery-skippers-2015","id":10661527,"avatar_url":"https://avatars.githubusercontent.com/u/10661527?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-fiery-skippers-2015","html_url":"https://github.com/nyc-fiery-skippers-2015","followers_url":"https://api.github.com/users/nyc-fiery-skippers-2015/followers","following_url":"https://api.github.com/users/nyc-fiery-skippers-2015/following{/other_user}","gists_url":"https://api.github.com/users/nyc-fiery-skippers-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-fiery-skippers-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-fiery-skippers-2015/subscriptions","organizations_url":"https://api.github.com/users/nyc-fiery-skippers-2015/orgs","repos_url":"https://api.github.com/users/nyc-fiery-skippers-2015/repos","events_url":"https://api.github.com/users/nyc-fiery-skippers-2015/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-fiery-skippers-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":36506691,"name":"Lambda_Survey_Gorilla","full_name":"nyc-fiery-skippers-2015/Lambda_Survey_Gorilla","owner":{"login":"nyc-fiery-skippers-2015","id":10661527,"avatar_url":"https://avatars.githubusercontent.com/u/10661527?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-fiery-skippers-2015","html_url":"https://github.com/nyc-fiery-skippers-2015","followers_url":"https://api.github.com/users/nyc-fiery-skippers-2015/followers","following_url":"https://api.github.com/users/nyc-fiery-skippers-2015/following{/other_user}","gists_url":"https://api.github.com/users/nyc-fiery-skippers-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-fiery-skippers-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-fiery-skippers-2015/subscriptions","organizations_url":"https://api.github.com/users/nyc-fiery-skippers-2015/orgs","repos_url":"https://api.github.com/users/nyc-fiery-skippers-2015/repos","events_url":"https://api.github.com/users/nyc-fiery-skippers-2015/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-fiery-skippers-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla","description":"","fork":false,"url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla","forks_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/forks","keys_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/teams","hooks_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/hooks","issue_events_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/issues/events{/number}","events_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/events","assignees_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/assignees{/user}","branches_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/branches{/branch}","tags_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/tags","blobs_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/git/refs{/sha}","trees_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/statuses/{sha}","languages_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/languages","stargazers_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/stargazers","contributors_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/contributors","subscribers_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/subscribers","subscription_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/subscription","commits_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/commits{/sha}","git_commits_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/git/commits{/sha}","comments_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/comments{/number}","issue_comment_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/issues/comments{/number}","contents_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/contents/{+path}","compare_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/merges","archive_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/downloads","issues_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/issues{/number}","pulls_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls{/number}","milestones_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/milestones{/number}","notifications_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/labels{/name}","releases_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/releases{/id}","created_at":"2015-05-29T13:42:49Z","updated_at":"2015-05-29T13:49:33Z","pushed_at":"2015-05-29T20:40:16Z","git_url":"git://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla.git","ssh_url":"git@github.com:nyc-fiery-skippers-2015/Lambda_Survey_Gorilla.git","clone_url":"https://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla.git","svn_url":"https://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla","homepage":null,"size":0,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"nyc-fiery-skippers-2015:master","ref":"master","sha":"0f374348fc0c546d6f94d326609af51b79492ce3","user":{"login":"nyc-fiery-skippers-2015","id":10661527,"avatar_url":"https://avatars.githubusercontent.com/u/10661527?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-fiery-skippers-2015","html_url":"https://github.com/nyc-fiery-skippers-2015","followers_url":"https://api.github.com/users/nyc-fiery-skippers-2015/followers","following_url":"https://api.github.com/users/nyc-fiery-skippers-2015/following{/other_user}","gists_url":"https://api.github.com/users/nyc-fiery-skippers-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-fiery-skippers-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-fiery-skippers-2015/subscriptions","organizations_url":"https://api.github.com/users/nyc-fiery-skippers-2015/orgs","repos_url":"https://api.github.com/users/nyc-fiery-skippers-2015/repos","events_url":"https://api.github.com/users/nyc-fiery-skippers-2015/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-fiery-skippers-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":36506691,"name":"Lambda_Survey_Gorilla","full_name":"nyc-fiery-skippers-2015/Lambda_Survey_Gorilla","owner":{"login":"nyc-fiery-skippers-2015","id":10661527,"avatar_url":"https://avatars.githubusercontent.com/u/10661527?v=3","gravatar_id":"","url":"https://api.github.com/users/nyc-fiery-skippers-2015","html_url":"https://github.com/nyc-fiery-skippers-2015","followers_url":"https://api.github.com/users/nyc-fiery-skippers-2015/followers","following_url":"https://api.github.com/users/nyc-fiery-skippers-2015/following{/other_user}","gists_url":"https://api.github.com/users/nyc-fiery-skippers-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/nyc-fiery-skippers-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyc-fiery-skippers-2015/subscriptions","organizations_url":"https://api.github.com/users/nyc-fiery-skippers-2015/orgs","repos_url":"https://api.github.com/users/nyc-fiery-skippers-2015/repos","events_url":"https://api.github.com/users/nyc-fiery-skippers-2015/events{/privacy}","received_events_url":"https://api.github.com/users/nyc-fiery-skippers-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla","description":"","fork":false,"url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla","forks_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/forks","keys_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/teams","hooks_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/hooks","issue_events_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/issues/events{/number}","events_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/events","assignees_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/assignees{/user}","branches_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/branches{/branch}","tags_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/tags","blobs_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/git/refs{/sha}","trees_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/statuses/{sha}","languages_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/languages","stargazers_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/stargazers","contributors_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/contributors","subscribers_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/subscribers","subscription_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/subscription","commits_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/commits{/sha}","git_commits_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/git/commits{/sha}","comments_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/comments{/number}","issue_comment_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/issues/comments{/number}","contents_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/contents/{+path}","compare_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/merges","archive_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/downloads","issues_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/issues{/number}","pulls_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls{/number}","milestones_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/milestones{/number}","notifications_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/labels{/name}","releases_url":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/releases{/id}","created_at":"2015-05-29T13:42:49Z","updated_at":"2015-05-29T13:49:33Z","pushed_at":"2015-05-29T20:40:16Z","git_url":"git://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla.git","ssh_url":"git@github.com:nyc-fiery-skippers-2015/Lambda_Survey_Gorilla.git","clone_url":"https://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla.git","svn_url":"https://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla","homepage":null,"size":0,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls/2"},"html":{"href":"https://github.com/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pull/2"},"issue":{"href":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/issues/2"},"comments":{"href":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/nyc-fiery-skippers-2015/Lambda_Survey_Gorilla/statuses/57f49bdbbf65a1242d45e1d173d1c047f87cbaab"}}}}