{"action":"created","comment":{"url":"https://api.github.com/repos/bfbad/my_new_app/pulls/comments/120632298","pull_request_review_id":42610709,"id":120632298,"diff_hunk":"@@ -4,11 +4,18 @@ class ProductsController < ApplicationController\n   # GET /products\n   # GET /products.json\n   def index\n+    if !Rails.env.production?\n+      byebug\n+    end\n     if params[:q]\n+      logger.debug \"Page accessed via search\"","path":"app/controllers/products_controller.rb","position":8,"original_position":8,"commit_id":"aee46a06028d91d0eedd2604f7979ff8be7b1c45","original_commit_id":"aee46a06028d91d0eedd2604f7979ff8be7b1c45","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars3.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":"Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2017-06-07T13:58:19Z","updated_at":"2017-06-07T13:58:20Z","html_url":"https://github.com/bfbad/my_new_app/pull/5#discussion_r120632298","pull_request_url":"https://api.github.com/repos/bfbad/my_new_app/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/bfbad/my_new_app/pulls/comments/120632298"},"html":{"href":"https://github.com/bfbad/my_new_app/pull/5#discussion_r120632298"},"pull_request":{"href":"https://api.github.com/repos/bfbad/my_new_app/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/bfbad/my_new_app/pulls/5","id":124426214,"html_url":"https://github.com/bfbad/my_new_app/pull/5","diff_url":"https://github.com/bfbad/my_new_app/pull/5.diff","patch_url":"https://github.com/bfbad/my_new_app/pull/5.patch","issue_url":"https://api.github.com/repos/bfbad/my_new_app/issues/5","number":5,"state":"closed","locked":false,"title":"Payments","user":{"login":"bfbad","id":4720618,"avatar_url":"https://avatars3.githubusercontent.com/u/4720618?v=3","gravatar_id":"","url":"https://api.github.com/users/bfbad","html_url":"https://github.com/bfbad","followers_url":"https://api.github.com/users/bfbad/followers","following_url":"https://api.github.com/users/bfbad/following{/other_user}","gists_url":"https://api.github.com/users/bfbad/gists{/gist_id}","starred_url":"https://api.github.com/users/bfbad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfbad/subscriptions","organizations_url":"https://api.github.com/users/bfbad/orgs","repos_url":"https://api.github.com/users/bfbad/repos","events_url":"https://api.github.com/users/bfbad/events{/privacy}","received_events_url":"https://api.github.com/users/bfbad/received_events","type":"User","site_admin":false},"body":"This branch incorporates payments into the bike shop. \r\n- Logs payments as orders recognizing the product, user and price.\r\n- Payments handled with stripe.\r\n- Update to production to require SSL.","created_at":"2017-06-07T13:54:39Z","updated_at":"2017-06-07T13:58:20Z","closed_at":"2017-06-07T13:54:46Z","merged_at":"2017-06-07T13:54:46Z","merge_commit_sha":"72248db6255470215ce1ec5beb945a83d4660497","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/bfbad/my_new_app/pulls/5/commits","review_comments_url":"https://api.github.com/repos/bfbad/my_new_app/pulls/5/comments","review_comment_url":"https://api.github.com/repos/bfbad/my_new_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bfbad/my_new_app/issues/5/comments","statuses_url":"https://api.github.com/repos/bfbad/my_new_app/statuses/aee46a06028d91d0eedd2604f7979ff8be7b1c45","head":{"label":"bfbad:payments","ref":"payments","sha":"aee46a06028d91d0eedd2604f7979ff8be7b1c45","user":{"login":"bfbad","id":4720618,"avatar_url":"https://avatars3.githubusercontent.com/u/4720618?v=3","gravatar_id":"","url":"https://api.github.com/users/bfbad","html_url":"https://github.com/bfbad","followers_url":"https://api.github.com/users/bfbad/followers","following_url":"https://api.github.com/users/bfbad/following{/other_user}","gists_url":"https://api.github.com/users/bfbad/gists{/gist_id}","starred_url":"https://api.github.com/users/bfbad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfbad/subscriptions","organizations_url":"https://api.github.com/users/bfbad/orgs","repos_url":"https://api.github.com/users/bfbad/repos","events_url":"https://api.github.com/users/bfbad/events{/privacy}","received_events_url":"https://api.github.com/users/bfbad/received_events","type":"User","site_admin":false},"repo":{"id":85775939,"name":"my_new_app","full_name":"bfbad/my_new_app","owner":{"login":"bfbad","id":4720618,"avatar_url":"https://avatars3.githubusercontent.com/u/4720618?v=3","gravatar_id":"","url":"https://api.github.com/users/bfbad","html_url":"https://github.com/bfbad","followers_url":"https://api.github.com/users/bfbad/followers","following_url":"https://api.github.com/users/bfbad/following{/other_user}","gists_url":"https://api.github.com/users/bfbad/gists{/gist_id}","starred_url":"https://api.github.com/users/bfbad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfbad/subscriptions","organizations_url":"https://api.github.com/users/bfbad/orgs","repos_url":"https://api.github.com/users/bfbad/repos","events_url":"https://api.github.com/users/bfbad/events{/privacy}","received_events_url":"https://api.github.com/users/bfbad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bfbad/my_new_app","description":"Sample ecomm Bike Store","fork":false,"url":"https://api.github.com/repos/bfbad/my_new_app","forks_url":"https://api.github.com/repos/bfbad/my_new_app/forks","keys_url":"https://api.github.com/repos/bfbad/my_new_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bfbad/my_new_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bfbad/my_new_app/teams","hooks_url":"https://api.github.com/repos/bfbad/my_new_app/hooks","issue_events_url":"https://api.github.com/repos/bfbad/my_new_app/issues/events{/number}","events_url":"https://api.github.com/repos/bfbad/my_new_app/events","assignees_url":"https://api.github.com/repos/bfbad/my_new_app/assignees{/user}","branches_url":"https://api.github.com/repos/bfbad/my_new_app/branches{/branch}","tags_url":"https://api.github.com/repos/bfbad/my_new_app/tags","blobs_url":"https://api.github.com/repos/bfbad/my_new_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bfbad/my_new_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bfbad/my_new_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/bfbad/my_new_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bfbad/my_new_app/statuses/{sha}","languages_url":"https://api.github.com/repos/bfbad/my_new_app/languages","stargazers_url":"https://api.github.com/repos/bfbad/my_new_app/stargazers","contributors_url":"https://api.github.com/repos/bfbad/my_new_app/contributors","subscribers_url":"https://api.github.com/repos/bfbad/my_new_app/subscribers","subscription_url":"https://api.github.com/repos/bfbad/my_new_app/subscription","commits_url":"https://api.github.com/repos/bfbad/my_new_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/bfbad/my_new_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/bfbad/my_new_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/bfbad/my_new_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/bfbad/my_new_app/contents/{+path}","compare_url":"https://api.github.com/repos/bfbad/my_new_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bfbad/my_new_app/merges","archive_url":"https://api.github.com/repos/bfbad/my_new_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bfbad/my_new_app/downloads","issues_url":"https://api.github.com/repos/bfbad/my_new_app/issues{/number}","pulls_url":"https://api.github.com/repos/bfbad/my_new_app/pulls{/number}","milestones_url":"https://api.github.com/repos/bfbad/my_new_app/milestones{/number}","notifications_url":"https://api.github.com/repos/bfbad/my_new_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bfbad/my_new_app/labels{/name}","releases_url":"https://api.github.com/repos/bfbad/my_new_app/releases{/id}","deployments_url":"https://api.github.com/repos/bfbad/my_new_app/deployments","created_at":"2017-03-22T02:27:02Z","updated_at":"2017-04-23T13:04:20Z","pushed_at":"2017-06-07T13:54:51Z","git_url":"git://github.com/bfbad/my_new_app.git","ssh_url":"git@github.com:bfbad/my_new_app.git","clone_url":"https://github.com/bfbad/my_new_app.git","svn_url":"https://github.com/bfbad/my_new_app","homepage":"https://brandonsbikes.herokuapp.com/","size":4805,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bfbad:master","ref":"master","sha":"f75e857ec297264ac615bcec49f50d97fe897e37","user":{"login":"bfbad","id":4720618,"avatar_url":"https://avatars3.githubusercontent.com/u/4720618?v=3","gravatar_id":"","url":"https://api.github.com/users/bfbad","html_url":"https://github.com/bfbad","followers_url":"https://api.github.com/users/bfbad/followers","following_url":"https://api.github.com/users/bfbad/following{/other_user}","gists_url":"https://api.github.com/users/bfbad/gists{/gist_id}","starred_url":"https://api.github.com/users/bfbad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfbad/subscriptions","organizations_url":"https://api.github.com/users/bfbad/orgs","repos_url":"https://api.github.com/users/bfbad/repos","events_url":"https://api.github.com/users/bfbad/events{/privacy}","received_events_url":"https://api.github.com/users/bfbad/received_events","type":"User","site_admin":false},"repo":{"id":85775939,"name":"my_new_app","full_name":"bfbad/my_new_app","owner":{"login":"bfbad","id":4720618,"avatar_url":"https://avatars3.githubusercontent.com/u/4720618?v=3","gravatar_id":"","url":"https://api.github.com/users/bfbad","html_url":"https://github.com/bfbad","followers_url":"https://api.github.com/users/bfbad/followers","following_url":"https://api.github.com/users/bfbad/following{/other_user}","gists_url":"https://api.github.com/users/bfbad/gists{/gist_id}","starred_url":"https://api.github.com/users/bfbad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfbad/subscriptions","organizations_url":"https://api.github.com/users/bfbad/orgs","repos_url":"https://api.github.com/users/bfbad/repos","events_url":"https://api.github.com/users/bfbad/events{/privacy}","received_events_url":"https://api.github.com/users/bfbad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bfbad/my_new_app","description":"Sample ecomm Bike Store","fork":false,"url":"https://api.github.com/repos/bfbad/my_new_app","forks_url":"https://api.github.com/repos/bfbad/my_new_app/forks","keys_url":"https://api.github.com/repos/bfbad/my_new_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bfbad/my_new_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bfbad/my_new_app/teams","hooks_url":"https://api.github.com/repos/bfbad/my_new_app/hooks","issue_events_url":"https://api.github.com/repos/bfbad/my_new_app/issues/events{/number}","events_url":"https://api.github.com/repos/bfbad/my_new_app/events","assignees_url":"https://api.github.com/repos/bfbad/my_new_app/assignees{/user}","branches_url":"https://api.github.com/repos/bfbad/my_new_app/branches{/branch}","tags_url":"https://api.github.com/repos/bfbad/my_new_app/tags","blobs_url":"https://api.github.com/repos/bfbad/my_new_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bfbad/my_new_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bfbad/my_new_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/bfbad/my_new_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bfbad/my_new_app/statuses/{sha}","languages_url":"https://api.github.com/repos/bfbad/my_new_app/languages","stargazers_url":"https://api.github.com/repos/bfbad/my_new_app/stargazers","contributors_url":"https://api.github.com/repos/bfbad/my_new_app/contributors","subscribers_url":"https://api.github.com/repos/bfbad/my_new_app/subscribers","subscription_url":"https://api.github.com/repos/bfbad/my_new_app/subscription","commits_url":"https://api.github.com/repos/bfbad/my_new_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/bfbad/my_new_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/bfbad/my_new_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/bfbad/my_new_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/bfbad/my_new_app/contents/{+path}","compare_url":"https://api.github.com/repos/bfbad/my_new_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bfbad/my_new_app/merges","archive_url":"https://api.github.com/repos/bfbad/my_new_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bfbad/my_new_app/downloads","issues_url":"https://api.github.com/repos/bfbad/my_new_app/issues{/number}","pulls_url":"https://api.github.com/repos/bfbad/my_new_app/pulls{/number}","milestones_url":"https://api.github.com/repos/bfbad/my_new_app/milestones{/number}","notifications_url":"https://api.github.com/repos/bfbad/my_new_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bfbad/my_new_app/labels{/name}","releases_url":"https://api.github.com/repos/bfbad/my_new_app/releases{/id}","deployments_url":"https://api.github.com/repos/bfbad/my_new_app/deployments","created_at":"2017-03-22T02:27:02Z","updated_at":"2017-04-23T13:04:20Z","pushed_at":"2017-06-07T13:54:51Z","git_url":"git://github.com/bfbad/my_new_app.git","ssh_url":"git@github.com:bfbad/my_new_app.git","clone_url":"https://github.com/bfbad/my_new_app.git","svn_url":"https://github.com/bfbad/my_new_app","homepage":"https://brandonsbikes.herokuapp.com/","size":4805,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bfbad/my_new_app/pulls/5"},"html":{"href":"https://github.com/bfbad/my_new_app/pull/5"},"issue":{"href":"https://api.github.com/repos/bfbad/my_new_app/issues/5"},"comments":{"href":"https://api.github.com/repos/bfbad/my_new_app/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/bfbad/my_new_app/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/bfbad/my_new_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bfbad/my_new_app/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/bfbad/my_new_app/statuses/aee46a06028d91d0eedd2604f7979ff8be7b1c45"}}}}
{"actor":{"display_login":"houndci-bot"}}