{"action":"created","comment":{"url":"https://api.github.com/repos/arctarus/rezets/pulls/comments/26965387","id":26965387,"diff_hunk":"@@ -90,4 +82,16 @@ def unlike\n     render 'like'\n   end\n \n+  private\n+\n+  def recipe\n+    @recipe ||= Recipe.find(params[:id])\n+  end\n+\n+  def recipe_params\n+    params.require(:recipe).permit(:name,\n+      :photo, :category_id, :num_persons, :cook_time, :directions,","path":"app/controllers/recipes_controller.rb","position":69,"original_position":69,"commit_id":"db4d73819f4d61214ff45d85b9ea76fa6659dde0","original_commit_id":"db4d73819f4d61214ff45d85b9ea76fa6659dde0","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":"Align the parameters of a method call if they span more than one line.","created_at":"2015-03-23T18:34:34Z","updated_at":"2015-03-23T18:34:34Z","html_url":"https://github.com/arctarus/rezets/pull/1#discussion_r26965387","pull_request_url":"https://api.github.com/repos/arctarus/rezets/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/arctarus/rezets/pulls/comments/26965387"},"html":{"href":"https://github.com/arctarus/rezets/pull/1#discussion_r26965387"},"pull_request":{"href":"https://api.github.com/repos/arctarus/rezets/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/arctarus/rezets/pulls/1","id":31759705,"html_url":"https://github.com/arctarus/rezets/pull/1","diff_url":"https://github.com/arctarus/rezets/pull/1.diff","patch_url":"https://github.com/arctarus/rezets/pull/1.patch","issue_url":"https://api.github.com/repos/arctarus/rezets/issues/1","number":1,"state":"open","locked":false,"title":"Rails4","user":{"login":"arctarus","id":39773,"avatar_url":"https://avatars.githubusercontent.com/u/39773?v=3","gravatar_id":"","url":"https://api.github.com/users/arctarus","html_url":"https://github.com/arctarus","followers_url":"https://api.github.com/users/arctarus/followers","following_url":"https://api.github.com/users/arctarus/following{/other_user}","gists_url":"https://api.github.com/users/arctarus/gists{/gist_id}","starred_url":"https://api.github.com/users/arctarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arctarus/subscriptions","organizations_url":"https://api.github.com/users/arctarus/orgs","repos_url":"https://api.github.com/users/arctarus/repos","events_url":"https://api.github.com/users/arctarus/events{/privacy}","received_events_url":"https://api.github.com/users/arctarus/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-23T18:21:23Z","updated_at":"2015-03-23T18:34:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1cb7b6d925c9e66f22f98ca040c34ce7f741c5f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arctarus/rezets/pulls/1/commits","review_comments_url":"https://api.github.com/repos/arctarus/rezets/pulls/1/comments","review_comment_url":"https://api.github.com/repos/arctarus/rezets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arctarus/rezets/issues/1/comments","statuses_url":"https://api.github.com/repos/arctarus/rezets/statuses/db4d73819f4d61214ff45d85b9ea76fa6659dde0","head":{"label":"arctarus:rails4","ref":"rails4","sha":"db4d73819f4d61214ff45d85b9ea76fa6659dde0","user":{"login":"arctarus","id":39773,"avatar_url":"https://avatars.githubusercontent.com/u/39773?v=3","gravatar_id":"","url":"https://api.github.com/users/arctarus","html_url":"https://github.com/arctarus","followers_url":"https://api.github.com/users/arctarus/followers","following_url":"https://api.github.com/users/arctarus/following{/other_user}","gists_url":"https://api.github.com/users/arctarus/gists{/gist_id}","starred_url":"https://api.github.com/users/arctarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arctarus/subscriptions","organizations_url":"https://api.github.com/users/arctarus/orgs","repos_url":"https://api.github.com/users/arctarus/repos","events_url":"https://api.github.com/users/arctarus/events{/privacy}","received_events_url":"https://api.github.com/users/arctarus/received_events","type":"User","site_admin":false},"repo":{"id":1902737,"name":"rezets","full_name":"arctarus/rezets","owner":{"login":"arctarus","id":39773,"avatar_url":"https://avatars.githubusercontent.com/u/39773?v=3","gravatar_id":"","url":"https://api.github.com/users/arctarus","html_url":"https://github.com/arctarus","followers_url":"https://api.github.com/users/arctarus/followers","following_url":"https://api.github.com/users/arctarus/following{/other_user}","gists_url":"https://api.github.com/users/arctarus/gists{/gist_id}","starred_url":"https://api.github.com/users/arctarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arctarus/subscriptions","organizations_url":"https://api.github.com/users/arctarus/orgs","repos_url":"https://api.github.com/users/arctarus/repos","events_url":"https://api.github.com/users/arctarus/events{/privacy}","received_events_url":"https://api.github.com/users/arctarus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arctarus/rezets","description":"share your recipes","fork":false,"url":"https://api.github.com/repos/arctarus/rezets","forks_url":"https://api.github.com/repos/arctarus/rezets/forks","keys_url":"https://api.github.com/repos/arctarus/rezets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arctarus/rezets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arctarus/rezets/teams","hooks_url":"https://api.github.com/repos/arctarus/rezets/hooks","issue_events_url":"https://api.github.com/repos/arctarus/rezets/issues/events{/number}","events_url":"https://api.github.com/repos/arctarus/rezets/events","assignees_url":"https://api.github.com/repos/arctarus/rezets/assignees{/user}","branches_url":"https://api.github.com/repos/arctarus/rezets/branches{/branch}","tags_url":"https://api.github.com/repos/arctarus/rezets/tags","blobs_url":"https://api.github.com/repos/arctarus/rezets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arctarus/rezets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arctarus/rezets/git/refs{/sha}","trees_url":"https://api.github.com/repos/arctarus/rezets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arctarus/rezets/statuses/{sha}","languages_url":"https://api.github.com/repos/arctarus/rezets/languages","stargazers_url":"https://api.github.com/repos/arctarus/rezets/stargazers","contributors_url":"https://api.github.com/repos/arctarus/rezets/contributors","subscribers_url":"https://api.github.com/repos/arctarus/rezets/subscribers","subscription_url":"https://api.github.com/repos/arctarus/rezets/subscription","commits_url":"https://api.github.com/repos/arctarus/rezets/commits{/sha}","git_commits_url":"https://api.github.com/repos/arctarus/rezets/git/commits{/sha}","comments_url":"https://api.github.com/repos/arctarus/rezets/comments{/number}","issue_comment_url":"https://api.github.com/repos/arctarus/rezets/issues/comments{/number}","contents_url":"https://api.github.com/repos/arctarus/rezets/contents/{+path}","compare_url":"https://api.github.com/repos/arctarus/rezets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arctarus/rezets/merges","archive_url":"https://api.github.com/repos/arctarus/rezets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arctarus/rezets/downloads","issues_url":"https://api.github.com/repos/arctarus/rezets/issues{/number}","pulls_url":"https://api.github.com/repos/arctarus/rezets/pulls{/number}","milestones_url":"https://api.github.com/repos/arctarus/rezets/milestones{/number}","notifications_url":"https://api.github.com/repos/arctarus/rezets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arctarus/rezets/labels{/name}","releases_url":"https://api.github.com/repos/arctarus/rezets/releases{/id}","created_at":"2011-06-15T21:42:59Z","updated_at":"2014-10-19T20:50:39Z","pushed_at":"2015-03-23T18:34:25Z","git_url":"git://github.com/arctarus/rezets.git","ssh_url":"git@github.com:arctarus/rezets.git","clone_url":"https://github.com/arctarus/rezets.git","svn_url":"https://github.com/arctarus/rezets","homepage":"http://rezets.com","size":6464,"stargazers_count":2,"watchers_count":2,"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":2,"default_branch":"master"}},"base":{"label":"arctarus:master","ref":"master","sha":"6ef87f29f1ee0b3b39da9fdbdfd1438374f7c63f","user":{"login":"arctarus","id":39773,"avatar_url":"https://avatars.githubusercontent.com/u/39773?v=3","gravatar_id":"","url":"https://api.github.com/users/arctarus","html_url":"https://github.com/arctarus","followers_url":"https://api.github.com/users/arctarus/followers","following_url":"https://api.github.com/users/arctarus/following{/other_user}","gists_url":"https://api.github.com/users/arctarus/gists{/gist_id}","starred_url":"https://api.github.com/users/arctarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arctarus/subscriptions","organizations_url":"https://api.github.com/users/arctarus/orgs","repos_url":"https://api.github.com/users/arctarus/repos","events_url":"https://api.github.com/users/arctarus/events{/privacy}","received_events_url":"https://api.github.com/users/arctarus/received_events","type":"User","site_admin":false},"repo":{"id":1902737,"name":"rezets","full_name":"arctarus/rezets","owner":{"login":"arctarus","id":39773,"avatar_url":"https://avatars.githubusercontent.com/u/39773?v=3","gravatar_id":"","url":"https://api.github.com/users/arctarus","html_url":"https://github.com/arctarus","followers_url":"https://api.github.com/users/arctarus/followers","following_url":"https://api.github.com/users/arctarus/following{/other_user}","gists_url":"https://api.github.com/users/arctarus/gists{/gist_id}","starred_url":"https://api.github.com/users/arctarus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arctarus/subscriptions","organizations_url":"https://api.github.com/users/arctarus/orgs","repos_url":"https://api.github.com/users/arctarus/repos","events_url":"https://api.github.com/users/arctarus/events{/privacy}","received_events_url":"https://api.github.com/users/arctarus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arctarus/rezets","description":"share your recipes","fork":false,"url":"https://api.github.com/repos/arctarus/rezets","forks_url":"https://api.github.com/repos/arctarus/rezets/forks","keys_url":"https://api.github.com/repos/arctarus/rezets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arctarus/rezets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arctarus/rezets/teams","hooks_url":"https://api.github.com/repos/arctarus/rezets/hooks","issue_events_url":"https://api.github.com/repos/arctarus/rezets/issues/events{/number}","events_url":"https://api.github.com/repos/arctarus/rezets/events","assignees_url":"https://api.github.com/repos/arctarus/rezets/assignees{/user}","branches_url":"https://api.github.com/repos/arctarus/rezets/branches{/branch}","tags_url":"https://api.github.com/repos/arctarus/rezets/tags","blobs_url":"https://api.github.com/repos/arctarus/rezets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arctarus/rezets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arctarus/rezets/git/refs{/sha}","trees_url":"https://api.github.com/repos/arctarus/rezets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arctarus/rezets/statuses/{sha}","languages_url":"https://api.github.com/repos/arctarus/rezets/languages","stargazers_url":"https://api.github.com/repos/arctarus/rezets/stargazers","contributors_url":"https://api.github.com/repos/arctarus/rezets/contributors","subscribers_url":"https://api.github.com/repos/arctarus/rezets/subscribers","subscription_url":"https://api.github.com/repos/arctarus/rezets/subscription","commits_url":"https://api.github.com/repos/arctarus/rezets/commits{/sha}","git_commits_url":"https://api.github.com/repos/arctarus/rezets/git/commits{/sha}","comments_url":"https://api.github.com/repos/arctarus/rezets/comments{/number}","issue_comment_url":"https://api.github.com/repos/arctarus/rezets/issues/comments{/number}","contents_url":"https://api.github.com/repos/arctarus/rezets/contents/{+path}","compare_url":"https://api.github.com/repos/arctarus/rezets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arctarus/rezets/merges","archive_url":"https://api.github.com/repos/arctarus/rezets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arctarus/rezets/downloads","issues_url":"https://api.github.com/repos/arctarus/rezets/issues{/number}","pulls_url":"https://api.github.com/repos/arctarus/rezets/pulls{/number}","milestones_url":"https://api.github.com/repos/arctarus/rezets/milestones{/number}","notifications_url":"https://api.github.com/repos/arctarus/rezets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arctarus/rezets/labels{/name}","releases_url":"https://api.github.com/repos/arctarus/rezets/releases{/id}","created_at":"2011-06-15T21:42:59Z","updated_at":"2014-10-19T20:50:39Z","pushed_at":"2015-03-23T18:34:25Z","git_url":"git://github.com/arctarus/rezets.git","ssh_url":"git@github.com:arctarus/rezets.git","clone_url":"https://github.com/arctarus/rezets.git","svn_url":"https://github.com/arctarus/rezets","homepage":"http://rezets.com","size":6464,"stargazers_count":2,"watchers_count":2,"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":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arctarus/rezets/pulls/1"},"html":{"href":"https://github.com/arctarus/rezets/pull/1"},"issue":{"href":"https://api.github.com/repos/arctarus/rezets/issues/1"},"comments":{"href":"https://api.github.com/repos/arctarus/rezets/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/arctarus/rezets/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/arctarus/rezets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arctarus/rezets/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/arctarus/rezets/statuses/db4d73819f4d61214ff45d85b9ea76fa6659dde0"}}}}