{"action":"created","comment":{"url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/comments/23280960","id":23280960,"diff_hunk":"@@ -2,7 +2,7 @@ class GuidesController < ApplicationController\n   before_action :authenticate_user!, except: [:index, :show]\n \n   def index\n-    @guides = Guide.all\n+    @guides = Guide.where({user: current_user })","path":"app/controllers/guides_controller.rb","position":5,"original_position":5,"commit_id":"795708b7853dff2504835e49e5674b6f8e273e4e","original_commit_id":"795708b7853dff2504835e49e5674b6f8e273e4e","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":"Redundant curly braces around a hash parameter.<br>Space inside { missing.","created_at":"2015-01-21T06:48:13Z","updated_at":"2015-01-21T06:48:13Z","html_url":"https://github.com/openfarmcc/OpenFarm/pull/459#discussion_r23280960","pull_request_url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/459","_links":{"self":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/comments/23280960"},"html":{"href":"https://github.com/openfarmcc/OpenFarm/pull/459#discussion_r23280960"},"pull_request":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/459"}}},"pull_request":{"url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/459","id":27738750,"html_url":"https://github.com/openfarmcc/OpenFarm/pull/459","diff_url":"https://github.com/openfarmcc/OpenFarm/pull/459.diff","patch_url":"https://github.com/openfarmcc/OpenFarm/pull/459.patch","issue_url":"https://api.github.com/repos/openfarmcc/OpenFarm/issues/459","number":459,"state":"open","locked":false,"title":"Small fixes","user":{"login":"simonv3","id":485583,"avatar_url":"https://avatars.githubusercontent.com/u/485583?v=3","gravatar_id":"","url":"https://api.github.com/users/simonv3","html_url":"https://github.com/simonv3","followers_url":"https://api.github.com/users/simonv3/followers","following_url":"https://api.github.com/users/simonv3/following{/other_user}","gists_url":"https://api.github.com/users/simonv3/gists{/gist_id}","starred_url":"https://api.github.com/users/simonv3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonv3/subscriptions","organizations_url":"https://api.github.com/users/simonv3/orgs","repos_url":"https://api.github.com/users/simonv3/repos","events_url":"https://api.github.com/users/simonv3/events{/privacy}","received_events_url":"https://api.github.com/users/simonv3/received_events","type":"User","site_admin":false},"body":"# What's changed\r\n\r\n* Make /en/guides the user's guides, not all guides. close #435\r\n* Save location and overview (had to rewrite parts of the location directive) close #447.\r\n* Did and undid footer things. \r\n\r\n# What's next\r\n\r\n* Going to have a final look at small bugs to fix, and then focus on some bigger eggs (multiple gardens is one). Adding a crop to a garden without a guide is another.","created_at":"2015-01-21T06:48:03Z","updated_at":"2015-01-21T06:48:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4549cd55958dba73b854e350a8b9453e5d36d721","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/459/commits","review_comments_url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/459/comments","review_comment_url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/comments/{number}","comments_url":"https://api.github.com/repos/openfarmcc/OpenFarm/issues/459/comments","statuses_url":"https://api.github.com/repos/openfarmcc/OpenFarm/statuses/795708b7853dff2504835e49e5674b6f8e273e4e","head":{"label":"simonv3:small-fixes","ref":"small-fixes","sha":"795708b7853dff2504835e49e5674b6f8e273e4e","user":{"login":"simonv3","id":485583,"avatar_url":"https://avatars.githubusercontent.com/u/485583?v=3","gravatar_id":"","url":"https://api.github.com/users/simonv3","html_url":"https://github.com/simonv3","followers_url":"https://api.github.com/users/simonv3/followers","following_url":"https://api.github.com/users/simonv3/following{/other_user}","gists_url":"https://api.github.com/users/simonv3/gists{/gist_id}","starred_url":"https://api.github.com/users/simonv3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonv3/subscriptions","organizations_url":"https://api.github.com/users/simonv3/orgs","repos_url":"https://api.github.com/users/simonv3/repos","events_url":"https://api.github.com/users/simonv3/events{/privacy}","received_events_url":"https://api.github.com/users/simonv3/received_events","type":"User","site_admin":false},"repo":{"id":21980604,"name":"OpenFarm","full_name":"simonv3/OpenFarm","owner":{"login":"simonv3","id":485583,"avatar_url":"https://avatars.githubusercontent.com/u/485583?v=3","gravatar_id":"","url":"https://api.github.com/users/simonv3","html_url":"https://github.com/simonv3","followers_url":"https://api.github.com/users/simonv3/followers","following_url":"https://api.github.com/users/simonv3/following{/other_user}","gists_url":"https://api.github.com/users/simonv3/gists{/gist_id}","starred_url":"https://api.github.com/users/simonv3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonv3/subscriptions","organizations_url":"https://api.github.com/users/simonv3/orgs","repos_url":"https://api.github.com/users/simonv3/repos","events_url":"https://api.github.com/users/simonv3/events{/privacy}","received_events_url":"https://api.github.com/users/simonv3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simonv3/OpenFarm","description":"A free and open database for farming and gardening knowledge. Data will be crowdsourced and rated. Will feature advanced search of the plant database, responsive frontend, forum for community discussion on each entry, and an open API.","fork":true,"url":"https://api.github.com/repos/simonv3/OpenFarm","forks_url":"https://api.github.com/repos/simonv3/OpenFarm/forks","keys_url":"https://api.github.com/repos/simonv3/OpenFarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simonv3/OpenFarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simonv3/OpenFarm/teams","hooks_url":"https://api.github.com/repos/simonv3/OpenFarm/hooks","issue_events_url":"https://api.github.com/repos/simonv3/OpenFarm/issues/events{/number}","events_url":"https://api.github.com/repos/simonv3/OpenFarm/events","assignees_url":"https://api.github.com/repos/simonv3/OpenFarm/assignees{/user}","branches_url":"https://api.github.com/repos/simonv3/OpenFarm/branches{/branch}","tags_url":"https://api.github.com/repos/simonv3/OpenFarm/tags","blobs_url":"https://api.github.com/repos/simonv3/OpenFarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simonv3/OpenFarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simonv3/OpenFarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/simonv3/OpenFarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simonv3/OpenFarm/statuses/{sha}","languages_url":"https://api.github.com/repos/simonv3/OpenFarm/languages","stargazers_url":"https://api.github.com/repos/simonv3/OpenFarm/stargazers","contributors_url":"https://api.github.com/repos/simonv3/OpenFarm/contributors","subscribers_url":"https://api.github.com/repos/simonv3/OpenFarm/subscribers","subscription_url":"https://api.github.com/repos/simonv3/OpenFarm/subscription","commits_url":"https://api.github.com/repos/simonv3/OpenFarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/simonv3/OpenFarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/simonv3/OpenFarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/simonv3/OpenFarm/issues/comments/{number}","contents_url":"https://api.github.com/repos/simonv3/OpenFarm/contents/{+path}","compare_url":"https://api.github.com/repos/simonv3/OpenFarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simonv3/OpenFarm/merges","archive_url":"https://api.github.com/repos/simonv3/OpenFarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simonv3/OpenFarm/downloads","issues_url":"https://api.github.com/repos/simonv3/OpenFarm/issues{/number}","pulls_url":"https://api.github.com/repos/simonv3/OpenFarm/pulls{/number}","milestones_url":"https://api.github.com/repos/simonv3/OpenFarm/milestones{/number}","notifications_url":"https://api.github.com/repos/simonv3/OpenFarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simonv3/OpenFarm/labels{/name}","releases_url":"https://api.github.com/repos/simonv3/OpenFarm/releases{/id}","created_at":"2014-07-18T13:09:02Z","updated_at":"2015-01-20T08:30:31Z","pushed_at":"2015-01-21T05:08:07Z","git_url":"git://github.com/simonv3/OpenFarm.git","ssh_url":"git@github.com:simonv3/OpenFarm.git","clone_url":"https://github.com/simonv3/OpenFarm.git","svn_url":"https://github.com/simonv3/OpenFarm","homepage":"OpenFarm.cc","size":72692,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"openfarmcc:master","ref":"master","sha":"4b58d945361c946d223d849aaa413cdb64f4c076","user":{"login":"openfarmcc","id":10136787,"avatar_url":"https://avatars.githubusercontent.com/u/10136787?v=3","gravatar_id":"","url":"https://api.github.com/users/openfarmcc","html_url":"https://github.com/openfarmcc","followers_url":"https://api.github.com/users/openfarmcc/followers","following_url":"https://api.github.com/users/openfarmcc/following{/other_user}","gists_url":"https://api.github.com/users/openfarmcc/gists{/gist_id}","starred_url":"https://api.github.com/users/openfarmcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfarmcc/subscriptions","organizations_url":"https://api.github.com/users/openfarmcc/orgs","repos_url":"https://api.github.com/users/openfarmcc/repos","events_url":"https://api.github.com/users/openfarmcc/events{/privacy}","received_events_url":"https://api.github.com/users/openfarmcc/received_events","type":"Organization","site_admin":false},"repo":{"id":13895958,"name":"OpenFarm","full_name":"openfarmcc/OpenFarm","owner":{"login":"openfarmcc","id":10136787,"avatar_url":"https://avatars.githubusercontent.com/u/10136787?v=3","gravatar_id":"","url":"https://api.github.com/users/openfarmcc","html_url":"https://github.com/openfarmcc","followers_url":"https://api.github.com/users/openfarmcc/followers","following_url":"https://api.github.com/users/openfarmcc/following{/other_user}","gists_url":"https://api.github.com/users/openfarmcc/gists{/gist_id}","starred_url":"https://api.github.com/users/openfarmcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfarmcc/subscriptions","organizations_url":"https://api.github.com/users/openfarmcc/orgs","repos_url":"https://api.github.com/users/openfarmcc/repos","events_url":"https://api.github.com/users/openfarmcc/events{/privacy}","received_events_url":"https://api.github.com/users/openfarmcc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfarmcc/OpenFarm","description":"A free and open database for farming and gardening knowledge. You can grow anything!","fork":false,"url":"https://api.github.com/repos/openfarmcc/OpenFarm","forks_url":"https://api.github.com/repos/openfarmcc/OpenFarm/forks","keys_url":"https://api.github.com/repos/openfarmcc/OpenFarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfarmcc/OpenFarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfarmcc/OpenFarm/teams","hooks_url":"https://api.github.com/repos/openfarmcc/OpenFarm/hooks","issue_events_url":"https://api.github.com/repos/openfarmcc/OpenFarm/issues/events{/number}","events_url":"https://api.github.com/repos/openfarmcc/OpenFarm/events","assignees_url":"https://api.github.com/repos/openfarmcc/OpenFarm/assignees{/user}","branches_url":"https://api.github.com/repos/openfarmcc/OpenFarm/branches{/branch}","tags_url":"https://api.github.com/repos/openfarmcc/OpenFarm/tags","blobs_url":"https://api.github.com/repos/openfarmcc/OpenFarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfarmcc/OpenFarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfarmcc/OpenFarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfarmcc/OpenFarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfarmcc/OpenFarm/statuses/{sha}","languages_url":"https://api.github.com/repos/openfarmcc/OpenFarm/languages","stargazers_url":"https://api.github.com/repos/openfarmcc/OpenFarm/stargazers","contributors_url":"https://api.github.com/repos/openfarmcc/OpenFarm/contributors","subscribers_url":"https://api.github.com/repos/openfarmcc/OpenFarm/subscribers","subscription_url":"https://api.github.com/repos/openfarmcc/OpenFarm/subscription","commits_url":"https://api.github.com/repos/openfarmcc/OpenFarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfarmcc/OpenFarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfarmcc/OpenFarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfarmcc/OpenFarm/issues/comments/{number}","contents_url":"https://api.github.com/repos/openfarmcc/OpenFarm/contents/{+path}","compare_url":"https://api.github.com/repos/openfarmcc/OpenFarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfarmcc/OpenFarm/merges","archive_url":"https://api.github.com/repos/openfarmcc/OpenFarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfarmcc/OpenFarm/downloads","issues_url":"https://api.github.com/repos/openfarmcc/OpenFarm/issues{/number}","pulls_url":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls{/number}","milestones_url":"https://api.github.com/repos/openfarmcc/OpenFarm/milestones{/number}","notifications_url":"https://api.github.com/repos/openfarmcc/OpenFarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfarmcc/OpenFarm/labels{/name}","releases_url":"https://api.github.com/repos/openfarmcc/OpenFarm/releases{/id}","created_at":"2013-10-27T04:46:37Z","updated_at":"2015-01-20T18:07:59Z","pushed_at":"2015-01-20T18:07:58Z","git_url":"git://github.com/openfarmcc/OpenFarm.git","ssh_url":"git@github.com:openfarmcc/OpenFarm.git","clone_url":"https://github.com/openfarmcc/OpenFarm.git","svn_url":"https://github.com/openfarmcc/OpenFarm","homepage":"https://OpenFarm.cc","size":74040,"stargazers_count":217,"watchers_count":217,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":43,"forks":55,"open_issues":43,"watchers":217,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/459"},"html":{"href":"https://github.com/openfarmcc/OpenFarm/pull/459"},"issue":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/issues/459"},"comments":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/issues/459/comments"},"review_comments":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/459/comments"},"review_comment":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/pulls/459/commits"},"statuses":{"href":"https://api.github.com/repos/openfarmcc/OpenFarm/statuses/795708b7853dff2504835e49e5674b6f8e273e4e"}}}}