{"action":"created","comment":{"url":"https://api.github.com/repos/rikikonikoff/breakable_toy/pulls/comments/98568725","pull_request_review_id":19214618,"id":98568725,"diff_hunk":"@@ -1,3 +1,13 @@\n class ApplicationController < ActionController::Base\n   protect_from_forgery with: :exception\n+  helper_method :current_user\n+  helper_method :current_provider\n+\n+  def current_user\n+    @current_user ||=User.find(session[:user_id]) if session[:user_id]","path":"app/controllers/application_controller.rb","position":7,"original_position":7,"commit_id":"f674c5107ff2fe89abd6d5d2bfb7d3b1f5345cac","original_commit_id":"f674c5107ff2fe89abd6d5d2bfb7d3b1f5345cac","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Surrounding space missing for operator ||=.","created_at":"2017-01-30T23:38:06Z","updated_at":"2017-01-30T23:38:06Z","html_url":"https://github.com/rikikonikoff/breakable_toy/pull/2#discussion_r98568725","pull_request_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/rikikonikoff/breakable_toy/pulls/comments/98568725"},"html":{"href":"https://github.com/rikikonikoff/breakable_toy/pull/2#discussion_r98568725"},"pull_request":{"href":"https://api.github.com/repos/rikikonikoff/breakable_toy/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/rikikonikoff/breakable_toy/pulls/2","id":103844520,"html_url":"https://github.com/rikikonikoff/breakable_toy/pull/2","diff_url":"https://github.com/rikikonikoff/breakable_toy/pull/2.diff","patch_url":"https://github.com/rikikonikoff/breakable_toy/pull/2.patch","issue_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/issues/2","number":2,"state":"open","locked":false,"title":"set up database and added bootstrap","user":{"login":"rikikonikoff","id":23462196,"avatar_url":"https://avatars.githubusercontent.com/u/23462196?v=3","gravatar_id":"","url":"https://api.github.com/users/rikikonikoff","html_url":"https://github.com/rikikonikoff","followers_url":"https://api.github.com/users/rikikonikoff/followers","following_url":"https://api.github.com/users/rikikonikoff/following{/other_user}","gists_url":"https://api.github.com/users/rikikonikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/rikikonikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rikikonikoff/subscriptions","organizations_url":"https://api.github.com/users/rikikonikoff/orgs","repos_url":"https://api.github.com/users/rikikonikoff/repos","events_url":"https://api.github.com/users/rikikonikoff/events{/privacy}","received_events_url":"https://api.github.com/users/rikikonikoff/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-01-30T23:37:39Z","updated_at":"2017-01-30T23:38:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"11b89f570db74ee153ecc03d0598ed88b6e74333","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/pulls/2/commits","review_comments_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/pulls/2/comments","review_comment_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/issues/2/comments","statuses_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/statuses/f674c5107ff2fe89abd6d5d2bfb7d3b1f5345cac","head":{"label":"rikikonikoff:database_setup","ref":"database_setup","sha":"f674c5107ff2fe89abd6d5d2bfb7d3b1f5345cac","user":{"login":"rikikonikoff","id":23462196,"avatar_url":"https://avatars.githubusercontent.com/u/23462196?v=3","gravatar_id":"","url":"https://api.github.com/users/rikikonikoff","html_url":"https://github.com/rikikonikoff","followers_url":"https://api.github.com/users/rikikonikoff/followers","following_url":"https://api.github.com/users/rikikonikoff/following{/other_user}","gists_url":"https://api.github.com/users/rikikonikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/rikikonikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rikikonikoff/subscriptions","organizations_url":"https://api.github.com/users/rikikonikoff/orgs","repos_url":"https://api.github.com/users/rikikonikoff/repos","events_url":"https://api.github.com/users/rikikonikoff/events{/privacy}","received_events_url":"https://api.github.com/users/rikikonikoff/received_events","type":"User","site_admin":false},"repo":{"id":80429354,"name":"breakable_toy","full_name":"rikikonikoff/breakable_toy","owner":{"login":"rikikonikoff","id":23462196,"avatar_url":"https://avatars.githubusercontent.com/u/23462196?v=3","gravatar_id":"","url":"https://api.github.com/users/rikikonikoff","html_url":"https://github.com/rikikonikoff","followers_url":"https://api.github.com/users/rikikonikoff/followers","following_url":"https://api.github.com/users/rikikonikoff/following{/other_user}","gists_url":"https://api.github.com/users/rikikonikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/rikikonikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rikikonikoff/subscriptions","organizations_url":"https://api.github.com/users/rikikonikoff/orgs","repos_url":"https://api.github.com/users/rikikonikoff/repos","events_url":"https://api.github.com/users/rikikonikoff/events{/privacy}","received_events_url":"https://api.github.com/users/rikikonikoff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rikikonikoff/breakable_toy","description":null,"fork":false,"url":"https://api.github.com/repos/rikikonikoff/breakable_toy","forks_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/forks","keys_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/teams","hooks_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/hooks","issue_events_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/issues/events{/number}","events_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/events","assignees_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/assignees{/user}","branches_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/branches{/branch}","tags_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/tags","blobs_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/git/refs{/sha}","trees_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/statuses/{sha}","languages_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/languages","stargazers_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/stargazers","contributors_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/contributors","subscribers_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/subscribers","subscription_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/subscription","commits_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/commits{/sha}","git_commits_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/git/commits{/sha}","comments_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/comments{/number}","issue_comment_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/issues/comments{/number}","contents_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/contents/{+path}","compare_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/merges","archive_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/downloads","issues_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/issues{/number}","pulls_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/pulls{/number}","milestones_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/milestones{/number}","notifications_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/labels{/name}","releases_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/releases{/id}","deployments_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/deployments","created_at":"2017-01-30T14:38:07Z","updated_at":"2017-01-30T14:45:40Z","pushed_at":"2017-01-30T23:37:40Z","git_url":"git://github.com/rikikonikoff/breakable_toy.git","ssh_url":"git@github.com:rikikonikoff/breakable_toy.git","clone_url":"https://github.com/rikikonikoff/breakable_toy.git","svn_url":"https://github.com/rikikonikoff/breakable_toy","homepage":null,"size":29,"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":"rikikonikoff:master","ref":"master","sha":"35ace97ffaaf9a019f6d3a36aa1f952026e9cfc0","user":{"login":"rikikonikoff","id":23462196,"avatar_url":"https://avatars.githubusercontent.com/u/23462196?v=3","gravatar_id":"","url":"https://api.github.com/users/rikikonikoff","html_url":"https://github.com/rikikonikoff","followers_url":"https://api.github.com/users/rikikonikoff/followers","following_url":"https://api.github.com/users/rikikonikoff/following{/other_user}","gists_url":"https://api.github.com/users/rikikonikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/rikikonikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rikikonikoff/subscriptions","organizations_url":"https://api.github.com/users/rikikonikoff/orgs","repos_url":"https://api.github.com/users/rikikonikoff/repos","events_url":"https://api.github.com/users/rikikonikoff/events{/privacy}","received_events_url":"https://api.github.com/users/rikikonikoff/received_events","type":"User","site_admin":false},"repo":{"id":80429354,"name":"breakable_toy","full_name":"rikikonikoff/breakable_toy","owner":{"login":"rikikonikoff","id":23462196,"avatar_url":"https://avatars.githubusercontent.com/u/23462196?v=3","gravatar_id":"","url":"https://api.github.com/users/rikikonikoff","html_url":"https://github.com/rikikonikoff","followers_url":"https://api.github.com/users/rikikonikoff/followers","following_url":"https://api.github.com/users/rikikonikoff/following{/other_user}","gists_url":"https://api.github.com/users/rikikonikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/rikikonikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rikikonikoff/subscriptions","organizations_url":"https://api.github.com/users/rikikonikoff/orgs","repos_url":"https://api.github.com/users/rikikonikoff/repos","events_url":"https://api.github.com/users/rikikonikoff/events{/privacy}","received_events_url":"https://api.github.com/users/rikikonikoff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rikikonikoff/breakable_toy","description":null,"fork":false,"url":"https://api.github.com/repos/rikikonikoff/breakable_toy","forks_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/forks","keys_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/teams","hooks_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/hooks","issue_events_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/issues/events{/number}","events_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/events","assignees_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/assignees{/user}","branches_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/branches{/branch}","tags_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/tags","blobs_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/git/refs{/sha}","trees_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/statuses/{sha}","languages_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/languages","stargazers_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/stargazers","contributors_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/contributors","subscribers_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/subscribers","subscription_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/subscription","commits_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/commits{/sha}","git_commits_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/git/commits{/sha}","comments_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/comments{/number}","issue_comment_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/issues/comments{/number}","contents_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/contents/{+path}","compare_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/merges","archive_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/downloads","issues_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/issues{/number}","pulls_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/pulls{/number}","milestones_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/milestones{/number}","notifications_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/labels{/name}","releases_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/releases{/id}","deployments_url":"https://api.github.com/repos/rikikonikoff/breakable_toy/deployments","created_at":"2017-01-30T14:38:07Z","updated_at":"2017-01-30T14:45:40Z","pushed_at":"2017-01-30T23:37:40Z","git_url":"git://github.com/rikikonikoff/breakable_toy.git","ssh_url":"git@github.com:rikikonikoff/breakable_toy.git","clone_url":"https://github.com/rikikonikoff/breakable_toy.git","svn_url":"https://github.com/rikikonikoff/breakable_toy","homepage":null,"size":29,"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/rikikonikoff/breakable_toy/pulls/2"},"html":{"href":"https://github.com/rikikonikoff/breakable_toy/pull/2"},"issue":{"href":"https://api.github.com/repos/rikikonikoff/breakable_toy/issues/2"},"comments":{"href":"https://api.github.com/repos/rikikonikoff/breakable_toy/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/rikikonikoff/breakable_toy/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/rikikonikoff/breakable_toy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rikikonikoff/breakable_toy/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/rikikonikoff/breakable_toy/statuses/f674c5107ff2fe89abd6d5d2bfb7d3b1f5345cac"}}}}
{"actor":{"display_login":"houndci-bot"}}