{"action":"created","comment":{"url":"https://api.github.com/repos/robbiejaeger/little_shop/pulls/comments/66859276","id":66859276,"diff_hunk":"@@ -2,6 +2,12 @@ class CategoriesController < ApplicationController\n \n   def show\n     @category = Category.find_by(slug: params[:id])\n-    @families = @category.families.active\n+    if @category\n+      @families = @category.families.active\n+    else\n+      flash[:danger] =\n+      \"Sorry, it seems that is not a category.\"","path":"app/controllers/categories_controller.rb","position":9,"original_position":9,"commit_id":"2c9e684d1dd26d19a28b05370bb62f80165fd41b","original_commit_id":"2c9e684d1dd26d19a28b05370bb62f80165fd41b","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":"Indent the first line of the right-hand-side of a multi-line assignment.","created_at":"2016-06-13T20:17:26Z","updated_at":"2016-06-13T20:17:26Z","html_url":"https://github.com/robbiejaeger/little_shop/pull/80#discussion_r66859276","pull_request_url":"https://api.github.com/repos/robbiejaeger/little_shop/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/robbiejaeger/little_shop/pulls/comments/66859276"},"html":{"href":"https://github.com/robbiejaeger/little_shop/pull/80#discussion_r66859276"},"pull_request":{"href":"https://api.github.com/repos/robbiejaeger/little_shop/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/robbiejaeger/little_shop/pulls/80","id":73636155,"html_url":"https://github.com/robbiejaeger/little_shop/pull/80","diff_url":"https://github.com/robbiejaeger/little_shop/pull/80.diff","patch_url":"https://github.com/robbiejaeger/little_shop/pull/80.patch","issue_url":"https://api.github.com/repos/robbiejaeger/little_shop/issues/80","number":80,"state":"open","locked":false,"title":"Adding category error","user":{"login":"karinamzalez","id":14364118,"avatar_url":"https://avatars.githubusercontent.com/u/14364118?v=3","gravatar_id":"","url":"https://api.github.com/users/karinamzalez","html_url":"https://github.com/karinamzalez","followers_url":"https://api.github.com/users/karinamzalez/followers","following_url":"https://api.github.com/users/karinamzalez/following{/other_user}","gists_url":"https://api.github.com/users/karinamzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/karinamzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karinamzalez/subscriptions","organizations_url":"https://api.github.com/users/karinamzalez/orgs","repos_url":"https://api.github.com/users/karinamzalez/repos","events_url":"https://api.github.com/users/karinamzalez/events{/privacy}","received_events_url":"https://api.github.com/users/karinamzalez/received_events","type":"User","site_admin":false},"body":"pulled form the most recent version of master as of 6/13/2016 2:17 p.m.","created_at":"2016-06-13T20:17:23Z","updated_at":"2016-06-13T20:17:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b4a611b2666889591184a575cd93aac5240fb99","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robbiejaeger/little_shop/pulls/80/commits","review_comments_url":"https://api.github.com/repos/robbiejaeger/little_shop/pulls/80/comments","review_comment_url":"https://api.github.com/repos/robbiejaeger/little_shop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/robbiejaeger/little_shop/issues/80/comments","statuses_url":"https://api.github.com/repos/robbiejaeger/little_shop/statuses/2c9e684d1dd26d19a28b05370bb62f80165fd41b","head":{"label":"robbiejaeger:adding_category_error","ref":"adding_category_error","sha":"2c9e684d1dd26d19a28b05370bb62f80165fd41b","user":{"login":"robbiejaeger","id":17582916,"avatar_url":"https://avatars.githubusercontent.com/u/17582916?v=3","gravatar_id":"","url":"https://api.github.com/users/robbiejaeger","html_url":"https://github.com/robbiejaeger","followers_url":"https://api.github.com/users/robbiejaeger/followers","following_url":"https://api.github.com/users/robbiejaeger/following{/other_user}","gists_url":"https://api.github.com/users/robbiejaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/robbiejaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbiejaeger/subscriptions","organizations_url":"https://api.github.com/users/robbiejaeger/orgs","repos_url":"https://api.github.com/users/robbiejaeger/repos","events_url":"https://api.github.com/users/robbiejaeger/events{/privacy}","received_events_url":"https://api.github.com/users/robbiejaeger/received_events","type":"User","site_admin":false},"repo":{"id":60565829,"name":"little_shop","full_name":"robbiejaeger/little_shop","owner":{"login":"robbiejaeger","id":17582916,"avatar_url":"https://avatars.githubusercontent.com/u/17582916?v=3","gravatar_id":"","url":"https://api.github.com/users/robbiejaeger","html_url":"https://github.com/robbiejaeger","followers_url":"https://api.github.com/users/robbiejaeger/followers","following_url":"https://api.github.com/users/robbiejaeger/following{/other_user}","gists_url":"https://api.github.com/users/robbiejaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/robbiejaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbiejaeger/subscriptions","organizations_url":"https://api.github.com/users/robbiejaeger/orgs","repos_url":"https://api.github.com/users/robbiejaeger/repos","events_url":"https://api.github.com/users/robbiejaeger/events{/privacy}","received_events_url":"https://api.github.com/users/robbiejaeger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robbiejaeger/little_shop","description":null,"fork":false,"url":"https://api.github.com/repos/robbiejaeger/little_shop","forks_url":"https://api.github.com/repos/robbiejaeger/little_shop/forks","keys_url":"https://api.github.com/repos/robbiejaeger/little_shop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robbiejaeger/little_shop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robbiejaeger/little_shop/teams","hooks_url":"https://api.github.com/repos/robbiejaeger/little_shop/hooks","issue_events_url":"https://api.github.com/repos/robbiejaeger/little_shop/issues/events{/number}","events_url":"https://api.github.com/repos/robbiejaeger/little_shop/events","assignees_url":"https://api.github.com/repos/robbiejaeger/little_shop/assignees{/user}","branches_url":"https://api.github.com/repos/robbiejaeger/little_shop/branches{/branch}","tags_url":"https://api.github.com/repos/robbiejaeger/little_shop/tags","blobs_url":"https://api.github.com/repos/robbiejaeger/little_shop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robbiejaeger/little_shop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robbiejaeger/little_shop/git/refs{/sha}","trees_url":"https://api.github.com/repos/robbiejaeger/little_shop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robbiejaeger/little_shop/statuses/{sha}","languages_url":"https://api.github.com/repos/robbiejaeger/little_shop/languages","stargazers_url":"https://api.github.com/repos/robbiejaeger/little_shop/stargazers","contributors_url":"https://api.github.com/repos/robbiejaeger/little_shop/contributors","subscribers_url":"https://api.github.com/repos/robbiejaeger/little_shop/subscribers","subscription_url":"https://api.github.com/repos/robbiejaeger/little_shop/subscription","commits_url":"https://api.github.com/repos/robbiejaeger/little_shop/commits{/sha}","git_commits_url":"https://api.github.com/repos/robbiejaeger/little_shop/git/commits{/sha}","comments_url":"https://api.github.com/repos/robbiejaeger/little_shop/comments{/number}","issue_comment_url":"https://api.github.com/repos/robbiejaeger/little_shop/issues/comments{/number}","contents_url":"https://api.github.com/repos/robbiejaeger/little_shop/contents/{+path}","compare_url":"https://api.github.com/repos/robbiejaeger/little_shop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robbiejaeger/little_shop/merges","archive_url":"https://api.github.com/repos/robbiejaeger/little_shop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robbiejaeger/little_shop/downloads","issues_url":"https://api.github.com/repos/robbiejaeger/little_shop/issues{/number}","pulls_url":"https://api.github.com/repos/robbiejaeger/little_shop/pulls{/number}","milestones_url":"https://api.github.com/repos/robbiejaeger/little_shop/milestones{/number}","notifications_url":"https://api.github.com/repos/robbiejaeger/little_shop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robbiejaeger/little_shop/labels{/name}","releases_url":"https://api.github.com/repos/robbiejaeger/little_shop/releases{/id}","deployments_url":"https://api.github.com/repos/robbiejaeger/little_shop/deployments","created_at":"2016-06-06T22:47:53Z","updated_at":"2016-06-06T22:53:10Z","pushed_at":"2016-06-13T20:17:23Z","git_url":"git://github.com/robbiejaeger/little_shop.git","ssh_url":"git@github.com:robbiejaeger/little_shop.git","clone_url":"https://github.com/robbiejaeger/little_shop.git","svn_url":"https://github.com/robbiejaeger/little_shop","homepage":null,"size":1509,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"robbiejaeger:master","ref":"master","sha":"fd0e5b961e5211ae04bc5e2670ede3c22eb57800","user":{"login":"robbiejaeger","id":17582916,"avatar_url":"https://avatars.githubusercontent.com/u/17582916?v=3","gravatar_id":"","url":"https://api.github.com/users/robbiejaeger","html_url":"https://github.com/robbiejaeger","followers_url":"https://api.github.com/users/robbiejaeger/followers","following_url":"https://api.github.com/users/robbiejaeger/following{/other_user}","gists_url":"https://api.github.com/users/robbiejaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/robbiejaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbiejaeger/subscriptions","organizations_url":"https://api.github.com/users/robbiejaeger/orgs","repos_url":"https://api.github.com/users/robbiejaeger/repos","events_url":"https://api.github.com/users/robbiejaeger/events{/privacy}","received_events_url":"https://api.github.com/users/robbiejaeger/received_events","type":"User","site_admin":false},"repo":{"id":60565829,"name":"little_shop","full_name":"robbiejaeger/little_shop","owner":{"login":"robbiejaeger","id":17582916,"avatar_url":"https://avatars.githubusercontent.com/u/17582916?v=3","gravatar_id":"","url":"https://api.github.com/users/robbiejaeger","html_url":"https://github.com/robbiejaeger","followers_url":"https://api.github.com/users/robbiejaeger/followers","following_url":"https://api.github.com/users/robbiejaeger/following{/other_user}","gists_url":"https://api.github.com/users/robbiejaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/robbiejaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbiejaeger/subscriptions","organizations_url":"https://api.github.com/users/robbiejaeger/orgs","repos_url":"https://api.github.com/users/robbiejaeger/repos","events_url":"https://api.github.com/users/robbiejaeger/events{/privacy}","received_events_url":"https://api.github.com/users/robbiejaeger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robbiejaeger/little_shop","description":null,"fork":false,"url":"https://api.github.com/repos/robbiejaeger/little_shop","forks_url":"https://api.github.com/repos/robbiejaeger/little_shop/forks","keys_url":"https://api.github.com/repos/robbiejaeger/little_shop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robbiejaeger/little_shop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robbiejaeger/little_shop/teams","hooks_url":"https://api.github.com/repos/robbiejaeger/little_shop/hooks","issue_events_url":"https://api.github.com/repos/robbiejaeger/little_shop/issues/events{/number}","events_url":"https://api.github.com/repos/robbiejaeger/little_shop/events","assignees_url":"https://api.github.com/repos/robbiejaeger/little_shop/assignees{/user}","branches_url":"https://api.github.com/repos/robbiejaeger/little_shop/branches{/branch}","tags_url":"https://api.github.com/repos/robbiejaeger/little_shop/tags","blobs_url":"https://api.github.com/repos/robbiejaeger/little_shop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robbiejaeger/little_shop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robbiejaeger/little_shop/git/refs{/sha}","trees_url":"https://api.github.com/repos/robbiejaeger/little_shop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robbiejaeger/little_shop/statuses/{sha}","languages_url":"https://api.github.com/repos/robbiejaeger/little_shop/languages","stargazers_url":"https://api.github.com/repos/robbiejaeger/little_shop/stargazers","contributors_url":"https://api.github.com/repos/robbiejaeger/little_shop/contributors","subscribers_url":"https://api.github.com/repos/robbiejaeger/little_shop/subscribers","subscription_url":"https://api.github.com/repos/robbiejaeger/little_shop/subscription","commits_url":"https://api.github.com/repos/robbiejaeger/little_shop/commits{/sha}","git_commits_url":"https://api.github.com/repos/robbiejaeger/little_shop/git/commits{/sha}","comments_url":"https://api.github.com/repos/robbiejaeger/little_shop/comments{/number}","issue_comment_url":"https://api.github.com/repos/robbiejaeger/little_shop/issues/comments{/number}","contents_url":"https://api.github.com/repos/robbiejaeger/little_shop/contents/{+path}","compare_url":"https://api.github.com/repos/robbiejaeger/little_shop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robbiejaeger/little_shop/merges","archive_url":"https://api.github.com/repos/robbiejaeger/little_shop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robbiejaeger/little_shop/downloads","issues_url":"https://api.github.com/repos/robbiejaeger/little_shop/issues{/number}","pulls_url":"https://api.github.com/repos/robbiejaeger/little_shop/pulls{/number}","milestones_url":"https://api.github.com/repos/robbiejaeger/little_shop/milestones{/number}","notifications_url":"https://api.github.com/repos/robbiejaeger/little_shop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robbiejaeger/little_shop/labels{/name}","releases_url":"https://api.github.com/repos/robbiejaeger/little_shop/releases{/id}","deployments_url":"https://api.github.com/repos/robbiejaeger/little_shop/deployments","created_at":"2016-06-06T22:47:53Z","updated_at":"2016-06-06T22:53:10Z","pushed_at":"2016-06-13T20:17:23Z","git_url":"git://github.com/robbiejaeger/little_shop.git","ssh_url":"git@github.com:robbiejaeger/little_shop.git","clone_url":"https://github.com/robbiejaeger/little_shop.git","svn_url":"https://github.com/robbiejaeger/little_shop","homepage":null,"size":1509,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/robbiejaeger/little_shop/pulls/80"},"html":{"href":"https://github.com/robbiejaeger/little_shop/pull/80"},"issue":{"href":"https://api.github.com/repos/robbiejaeger/little_shop/issues/80"},"comments":{"href":"https://api.github.com/repos/robbiejaeger/little_shop/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/robbiejaeger/little_shop/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/robbiejaeger/little_shop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/robbiejaeger/little_shop/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/robbiejaeger/little_shop/statuses/2c9e684d1dd26d19a28b05370bb62f80165fd41b"}}}}
{"actor":{"display_login":"houndci-bot"}}