{"action":"created","comment":{"url":"https://api.github.com/repos/Nikitavasil21/Startup/pulls/comments/30945721","id":30945721,"diff_hunk":"@@ -11,8 +11,15 @@ def update\n     end\n   end\n \n+  def set_current_deck  \n+    current_user.update_attributes(current_deck_id: params[:deck_id])\n+      flash[:success] = \"Current deck set!\"\n+    redirect_to decks_path\n+  end\n+\n+","path":"app/controllers/profiles_controller.rb","position":10,"original_position":10,"commit_id":"a3b09b163e820f40b803580197702a5d61d37581","original_commit_id":"a3b09b163e820f40b803580197702a5d61d37581","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Extra blank line detected.","created_at":"2015-05-23T15:30:48Z","updated_at":"2015-05-23T15:30:48Z","html_url":"https://github.com/Nikitavasil21/Startup/pull/19#discussion_r30945721","pull_request_url":"https://api.github.com/repos/Nikitavasil21/Startup/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/Nikitavasil21/Startup/pulls/comments/30945721"},"html":{"href":"https://github.com/Nikitavasil21/Startup/pull/19#discussion_r30945721"},"pull_request":{"href":"https://api.github.com/repos/Nikitavasil21/Startup/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/Nikitavasil21/Startup/pulls/19","id":35976330,"html_url":"https://github.com/Nikitavasil21/Startup/pull/19","diff_url":"https://github.com/Nikitavasil21/Startup/pull/19.diff","patch_url":"https://github.com/Nikitavasil21/Startup/pull/19.patch","issue_url":"https://api.github.com/repos/Nikitavasil21/Startup/issues/19","number":19,"state":"open","locked":false,"title":"11th","user":{"login":"Nikitavasil21","id":9042902,"avatar_url":"https://avatars.githubusercontent.com/u/9042902?v=3","gravatar_id":"","url":"https://api.github.com/users/Nikitavasil21","html_url":"https://github.com/Nikitavasil21","followers_url":"https://api.github.com/users/Nikitavasil21/followers","following_url":"https://api.github.com/users/Nikitavasil21/following{/other_user}","gists_url":"https://api.github.com/users/Nikitavasil21/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikitavasil21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikitavasil21/subscriptions","organizations_url":"https://api.github.com/users/Nikitavasil21/orgs","repos_url":"https://api.github.com/users/Nikitavasil21/repos","events_url":"https://api.github.com/users/Nikitavasil21/events{/privacy}","received_events_url":"https://api.github.com/users/Nikitavasil21/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-21T20:53:18Z","updated_at":"2015-05-23T15:30:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Nikitavasil21/Startup/pulls/19/commits","review_comments_url":"https://api.github.com/repos/Nikitavasil21/Startup/pulls/19/comments","review_comment_url":"https://api.github.com/repos/Nikitavasil21/Startup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Nikitavasil21/Startup/issues/19/comments","statuses_url":"https://api.github.com/repos/Nikitavasil21/Startup/statuses/a3b09b163e820f40b803580197702a5d61d37581","head":{"label":"Nikitavasil21:11th","ref":"11th","sha":"a3b09b163e820f40b803580197702a5d61d37581","user":{"login":"Nikitavasil21","id":9042902,"avatar_url":"https://avatars.githubusercontent.com/u/9042902?v=3","gravatar_id":"","url":"https://api.github.com/users/Nikitavasil21","html_url":"https://github.com/Nikitavasil21","followers_url":"https://api.github.com/users/Nikitavasil21/followers","following_url":"https://api.github.com/users/Nikitavasil21/following{/other_user}","gists_url":"https://api.github.com/users/Nikitavasil21/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikitavasil21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikitavasil21/subscriptions","organizations_url":"https://api.github.com/users/Nikitavasil21/orgs","repos_url":"https://api.github.com/users/Nikitavasil21/repos","events_url":"https://api.github.com/users/Nikitavasil21/events{/privacy}","received_events_url":"https://api.github.com/users/Nikitavasil21/received_events","type":"User","site_admin":false},"repo":{"id":25549370,"name":"Startup","full_name":"Nikitavasil21/Startup","owner":{"login":"Nikitavasil21","id":9042902,"avatar_url":"https://avatars.githubusercontent.com/u/9042902?v=3","gravatar_id":"","url":"https://api.github.com/users/Nikitavasil21","html_url":"https://github.com/Nikitavasil21","followers_url":"https://api.github.com/users/Nikitavasil21/followers","following_url":"https://api.github.com/users/Nikitavasil21/following{/other_user}","gists_url":"https://api.github.com/users/Nikitavasil21/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikitavasil21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikitavasil21/subscriptions","organizations_url":"https://api.github.com/users/Nikitavasil21/orgs","repos_url":"https://api.github.com/users/Nikitavasil21/repos","events_url":"https://api.github.com/users/Nikitavasil21/events{/privacy}","received_events_url":"https://api.github.com/users/Nikitavasil21/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nikitavasil21/Startup","description":"","fork":false,"url":"https://api.github.com/repos/Nikitavasil21/Startup","forks_url":"https://api.github.com/repos/Nikitavasil21/Startup/forks","keys_url":"https://api.github.com/repos/Nikitavasil21/Startup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nikitavasil21/Startup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nikitavasil21/Startup/teams","hooks_url":"https://api.github.com/repos/Nikitavasil21/Startup/hooks","issue_events_url":"https://api.github.com/repos/Nikitavasil21/Startup/issues/events{/number}","events_url":"https://api.github.com/repos/Nikitavasil21/Startup/events","assignees_url":"https://api.github.com/repos/Nikitavasil21/Startup/assignees{/user}","branches_url":"https://api.github.com/repos/Nikitavasil21/Startup/branches{/branch}","tags_url":"https://api.github.com/repos/Nikitavasil21/Startup/tags","blobs_url":"https://api.github.com/repos/Nikitavasil21/Startup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nikitavasil21/Startup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nikitavasil21/Startup/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nikitavasil21/Startup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nikitavasil21/Startup/statuses/{sha}","languages_url":"https://api.github.com/repos/Nikitavasil21/Startup/languages","stargazers_url":"https://api.github.com/repos/Nikitavasil21/Startup/stargazers","contributors_url":"https://api.github.com/repos/Nikitavasil21/Startup/contributors","subscribers_url":"https://api.github.com/repos/Nikitavasil21/Startup/subscribers","subscription_url":"https://api.github.com/repos/Nikitavasil21/Startup/subscription","commits_url":"https://api.github.com/repos/Nikitavasil21/Startup/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nikitavasil21/Startup/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nikitavasil21/Startup/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nikitavasil21/Startup/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nikitavasil21/Startup/contents/{+path}","compare_url":"https://api.github.com/repos/Nikitavasil21/Startup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nikitavasil21/Startup/merges","archive_url":"https://api.github.com/repos/Nikitavasil21/Startup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nikitavasil21/Startup/downloads","issues_url":"https://api.github.com/repos/Nikitavasil21/Startup/issues{/number}","pulls_url":"https://api.github.com/repos/Nikitavasil21/Startup/pulls{/number}","milestones_url":"https://api.github.com/repos/Nikitavasil21/Startup/milestones{/number}","notifications_url":"https://api.github.com/repos/Nikitavasil21/Startup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nikitavasil21/Startup/labels{/name}","releases_url":"https://api.github.com/repos/Nikitavasil21/Startup/releases{/id}","created_at":"2014-10-21T22:28:06Z","updated_at":"2015-05-02T17:21:32Z","pushed_at":"2015-05-23T15:30:41Z","git_url":"git://github.com/Nikitavasil21/Startup.git","ssh_url":"git@github.com:Nikitavasil21/Startup.git","clone_url":"https://github.com/Nikitavasil21/Startup.git","svn_url":"https://github.com/Nikitavasil21/Startup","homepage":null,"size":3000,"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":"Nikitavasil21:master","ref":"master","sha":"76248d60e2b14fc4d1f3e14459ddedbfc9939341","user":{"login":"Nikitavasil21","id":9042902,"avatar_url":"https://avatars.githubusercontent.com/u/9042902?v=3","gravatar_id":"","url":"https://api.github.com/users/Nikitavasil21","html_url":"https://github.com/Nikitavasil21","followers_url":"https://api.github.com/users/Nikitavasil21/followers","following_url":"https://api.github.com/users/Nikitavasil21/following{/other_user}","gists_url":"https://api.github.com/users/Nikitavasil21/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikitavasil21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikitavasil21/subscriptions","organizations_url":"https://api.github.com/users/Nikitavasil21/orgs","repos_url":"https://api.github.com/users/Nikitavasil21/repos","events_url":"https://api.github.com/users/Nikitavasil21/events{/privacy}","received_events_url":"https://api.github.com/users/Nikitavasil21/received_events","type":"User","site_admin":false},"repo":{"id":25549370,"name":"Startup","full_name":"Nikitavasil21/Startup","owner":{"login":"Nikitavasil21","id":9042902,"avatar_url":"https://avatars.githubusercontent.com/u/9042902?v=3","gravatar_id":"","url":"https://api.github.com/users/Nikitavasil21","html_url":"https://github.com/Nikitavasil21","followers_url":"https://api.github.com/users/Nikitavasil21/followers","following_url":"https://api.github.com/users/Nikitavasil21/following{/other_user}","gists_url":"https://api.github.com/users/Nikitavasil21/gists{/gist_id}","starred_url":"https://api.github.com/users/Nikitavasil21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nikitavasil21/subscriptions","organizations_url":"https://api.github.com/users/Nikitavasil21/orgs","repos_url":"https://api.github.com/users/Nikitavasil21/repos","events_url":"https://api.github.com/users/Nikitavasil21/events{/privacy}","received_events_url":"https://api.github.com/users/Nikitavasil21/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nikitavasil21/Startup","description":"","fork":false,"url":"https://api.github.com/repos/Nikitavasil21/Startup","forks_url":"https://api.github.com/repos/Nikitavasil21/Startup/forks","keys_url":"https://api.github.com/repos/Nikitavasil21/Startup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nikitavasil21/Startup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nikitavasil21/Startup/teams","hooks_url":"https://api.github.com/repos/Nikitavasil21/Startup/hooks","issue_events_url":"https://api.github.com/repos/Nikitavasil21/Startup/issues/events{/number}","events_url":"https://api.github.com/repos/Nikitavasil21/Startup/events","assignees_url":"https://api.github.com/repos/Nikitavasil21/Startup/assignees{/user}","branches_url":"https://api.github.com/repos/Nikitavasil21/Startup/branches{/branch}","tags_url":"https://api.github.com/repos/Nikitavasil21/Startup/tags","blobs_url":"https://api.github.com/repos/Nikitavasil21/Startup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nikitavasil21/Startup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nikitavasil21/Startup/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nikitavasil21/Startup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nikitavasil21/Startup/statuses/{sha}","languages_url":"https://api.github.com/repos/Nikitavasil21/Startup/languages","stargazers_url":"https://api.github.com/repos/Nikitavasil21/Startup/stargazers","contributors_url":"https://api.github.com/repos/Nikitavasil21/Startup/contributors","subscribers_url":"https://api.github.com/repos/Nikitavasil21/Startup/subscribers","subscription_url":"https://api.github.com/repos/Nikitavasil21/Startup/subscription","commits_url":"https://api.github.com/repos/Nikitavasil21/Startup/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nikitavasil21/Startup/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nikitavasil21/Startup/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nikitavasil21/Startup/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nikitavasil21/Startup/contents/{+path}","compare_url":"https://api.github.com/repos/Nikitavasil21/Startup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nikitavasil21/Startup/merges","archive_url":"https://api.github.com/repos/Nikitavasil21/Startup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nikitavasil21/Startup/downloads","issues_url":"https://api.github.com/repos/Nikitavasil21/Startup/issues{/number}","pulls_url":"https://api.github.com/repos/Nikitavasil21/Startup/pulls{/number}","milestones_url":"https://api.github.com/repos/Nikitavasil21/Startup/milestones{/number}","notifications_url":"https://api.github.com/repos/Nikitavasil21/Startup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nikitavasil21/Startup/labels{/name}","releases_url":"https://api.github.com/repos/Nikitavasil21/Startup/releases{/id}","created_at":"2014-10-21T22:28:06Z","updated_at":"2015-05-02T17:21:32Z","pushed_at":"2015-05-23T15:30:41Z","git_url":"git://github.com/Nikitavasil21/Startup.git","ssh_url":"git@github.com:Nikitavasil21/Startup.git","clone_url":"https://github.com/Nikitavasil21/Startup.git","svn_url":"https://github.com/Nikitavasil21/Startup","homepage":null,"size":3000,"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/Nikitavasil21/Startup/pulls/19"},"html":{"href":"https://github.com/Nikitavasil21/Startup/pull/19"},"issue":{"href":"https://api.github.com/repos/Nikitavasil21/Startup/issues/19"},"comments":{"href":"https://api.github.com/repos/Nikitavasil21/Startup/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/Nikitavasil21/Startup/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/Nikitavasil21/Startup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Nikitavasil21/Startup/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/Nikitavasil21/Startup/statuses/a3b09b163e820f40b803580197702a5d61d37581"}}}}