{"action":"created","comment":{"url":"https://api.github.com/repos/utr066/protospace/pulls/comments/57580774","id":57580774,"diff_hunk":"@@ -32,6 +33,10 @@ def update\n   private\n \n   def prototype_params\n-    params.require(:prototype).permit(:title, :catchcopy, :concept, prototype_images_attributes: [:image, :property])\n+    params.require(:prototype).permit(:title, :catchcopy, :concept, prototype_images_attributes: [:id, :image, :property])","path":"app/controllers/prototypes_controller.rb","position":34,"original_position":37,"commit_id":"34486a9b998a5f2cf943bd58ed5fd4a96ea4f0ea","original_commit_id":"68172bccd2be4dca58b287294327c5c1b576735a","user":{"login":"YuitoSato","id":13939071,"avatar_url":"https://avatars.githubusercontent.com/u/13939071?v=3","gravatar_id":"","url":"https://api.github.com/users/YuitoSato","html_url":"https://github.com/YuitoSato","followers_url":"https://api.github.com/users/YuitoSato/followers","following_url":"https://api.github.com/users/YuitoSato/following{/other_user}","gists_url":"https://api.github.com/users/YuitoSato/gists{/gist_id}","starred_url":"https://api.github.com/users/YuitoSato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuitoSato/subscriptions","organizations_url":"https://api.github.com/users/YuitoSato/orgs","repos_url":"https://api.github.com/users/YuitoSato/repos","events_url":"https://api.github.com/users/YuitoSato/events{/privacy}","received_events_url":"https://api.github.com/users/YuitoSato/received_events","type":"User","site_admin":false},"body":"idいる？\r\n","created_at":"2016-03-28T15:01:26Z","updated_at":"2016-03-28T15:01:26Z","html_url":"https://github.com/utr066/protospace/pull/6#discussion_r57580774","pull_request_url":"https://api.github.com/repos/utr066/protospace/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/utr066/protospace/pulls/comments/57580774"},"html":{"href":"https://github.com/utr066/protospace/pull/6#discussion_r57580774"},"pull_request":{"href":"https://api.github.com/repos/utr066/protospace/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/utr066/protospace/pulls/6","id":63696753,"html_url":"https://github.com/utr066/protospace/pull/6","diff_url":"https://github.com/utr066/protospace/pull/6.diff","patch_url":"https://github.com/utr066/protospace/pull/6.patch","issue_url":"https://api.github.com/repos/utr066/protospace/issues/6","number":6,"state":"open","locked":false,"title":"Edit and delete function","user":{"login":"utr066","id":14937676,"avatar_url":"https://avatars.githubusercontent.com/u/14937676?v=3","gravatar_id":"","url":"https://api.github.com/users/utr066","html_url":"https://github.com/utr066","followers_url":"https://api.github.com/users/utr066/followers","following_url":"https://api.github.com/users/utr066/following{/other_user}","gists_url":"https://api.github.com/users/utr066/gists{/gist_id}","starred_url":"https://api.github.com/users/utr066/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utr066/subscriptions","organizations_url":"https://api.github.com/users/utr066/orgs","repos_url":"https://api.github.com/users/utr066/repos","events_url":"https://api.github.com/users/utr066/events{/privacy}","received_events_url":"https://api.github.com/users/utr066/received_events","type":"User","site_admin":false},"body":"# WHAT\r\nprototypeの編集機能と削除機能を追加\r\n\r\n# WHY\r\nユーザーが自分の投稿を編集・削除することができるようにするため","created_at":"2016-03-22T10:20:28Z","updated_at":"2016-03-28T15:01:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fda5f2ce266865efd6f82c191ec512aa71038cef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/utr066/protospace/pulls/6/commits","review_comments_url":"https://api.github.com/repos/utr066/protospace/pulls/6/comments","review_comment_url":"https://api.github.com/repos/utr066/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/utr066/protospace/issues/6/comments","statuses_url":"https://api.github.com/repos/utr066/protospace/statuses/34486a9b998a5f2cf943bd58ed5fd4a96ea4f0ea","head":{"label":"utr066:edit_and_delete_function","ref":"edit_and_delete_function","sha":"34486a9b998a5f2cf943bd58ed5fd4a96ea4f0ea","user":{"login":"utr066","id":14937676,"avatar_url":"https://avatars.githubusercontent.com/u/14937676?v=3","gravatar_id":"","url":"https://api.github.com/users/utr066","html_url":"https://github.com/utr066","followers_url":"https://api.github.com/users/utr066/followers","following_url":"https://api.github.com/users/utr066/following{/other_user}","gists_url":"https://api.github.com/users/utr066/gists{/gist_id}","starred_url":"https://api.github.com/users/utr066/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utr066/subscriptions","organizations_url":"https://api.github.com/users/utr066/orgs","repos_url":"https://api.github.com/users/utr066/repos","events_url":"https://api.github.com/users/utr066/events{/privacy}","received_events_url":"https://api.github.com/users/utr066/received_events","type":"User","site_admin":false},"repo":{"id":51907213,"name":"protospace","full_name":"utr066/protospace","owner":{"login":"utr066","id":14937676,"avatar_url":"https://avatars.githubusercontent.com/u/14937676?v=3","gravatar_id":"","url":"https://api.github.com/users/utr066","html_url":"https://github.com/utr066","followers_url":"https://api.github.com/users/utr066/followers","following_url":"https://api.github.com/users/utr066/following{/other_user}","gists_url":"https://api.github.com/users/utr066/gists{/gist_id}","starred_url":"https://api.github.com/users/utr066/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utr066/subscriptions","organizations_url":"https://api.github.com/users/utr066/orgs","repos_url":"https://api.github.com/users/utr066/repos","events_url":"https://api.github.com/users/utr066/events{/privacy}","received_events_url":"https://api.github.com/users/utr066/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/utr066/protospace","description":"","fork":false,"url":"https://api.github.com/repos/utr066/protospace","forks_url":"https://api.github.com/repos/utr066/protospace/forks","keys_url":"https://api.github.com/repos/utr066/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/utr066/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/utr066/protospace/teams","hooks_url":"https://api.github.com/repos/utr066/protospace/hooks","issue_events_url":"https://api.github.com/repos/utr066/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/utr066/protospace/events","assignees_url":"https://api.github.com/repos/utr066/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/utr066/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/utr066/protospace/tags","blobs_url":"https://api.github.com/repos/utr066/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/utr066/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/utr066/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/utr066/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/utr066/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/utr066/protospace/languages","stargazers_url":"https://api.github.com/repos/utr066/protospace/stargazers","contributors_url":"https://api.github.com/repos/utr066/protospace/contributors","subscribers_url":"https://api.github.com/repos/utr066/protospace/subscribers","subscription_url":"https://api.github.com/repos/utr066/protospace/subscription","commits_url":"https://api.github.com/repos/utr066/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/utr066/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/utr066/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/utr066/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/utr066/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/utr066/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/utr066/protospace/merges","archive_url":"https://api.github.com/repos/utr066/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/utr066/protospace/downloads","issues_url":"https://api.github.com/repos/utr066/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/utr066/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/utr066/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/utr066/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/utr066/protospace/labels{/name}","releases_url":"https://api.github.com/repos/utr066/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/utr066/protospace/deployments","created_at":"2016-02-17T08:33:20Z","updated_at":"2016-03-12T15:26:26Z","pushed_at":"2016-03-25T05:36:33Z","git_url":"git://github.com/utr066/protospace.git","ssh_url":"git@github.com:utr066/protospace.git","clone_url":"https://github.com/utr066/protospace.git","svn_url":"https://github.com/utr066/protospace","homepage":null,"size":1417,"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":"utr066:master","ref":"master","sha":"fffbc91ba6d3e9dd7935efc0478dbd436d50d852","user":{"login":"utr066","id":14937676,"avatar_url":"https://avatars.githubusercontent.com/u/14937676?v=3","gravatar_id":"","url":"https://api.github.com/users/utr066","html_url":"https://github.com/utr066","followers_url":"https://api.github.com/users/utr066/followers","following_url":"https://api.github.com/users/utr066/following{/other_user}","gists_url":"https://api.github.com/users/utr066/gists{/gist_id}","starred_url":"https://api.github.com/users/utr066/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utr066/subscriptions","organizations_url":"https://api.github.com/users/utr066/orgs","repos_url":"https://api.github.com/users/utr066/repos","events_url":"https://api.github.com/users/utr066/events{/privacy}","received_events_url":"https://api.github.com/users/utr066/received_events","type":"User","site_admin":false},"repo":{"id":51907213,"name":"protospace","full_name":"utr066/protospace","owner":{"login":"utr066","id":14937676,"avatar_url":"https://avatars.githubusercontent.com/u/14937676?v=3","gravatar_id":"","url":"https://api.github.com/users/utr066","html_url":"https://github.com/utr066","followers_url":"https://api.github.com/users/utr066/followers","following_url":"https://api.github.com/users/utr066/following{/other_user}","gists_url":"https://api.github.com/users/utr066/gists{/gist_id}","starred_url":"https://api.github.com/users/utr066/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utr066/subscriptions","organizations_url":"https://api.github.com/users/utr066/orgs","repos_url":"https://api.github.com/users/utr066/repos","events_url":"https://api.github.com/users/utr066/events{/privacy}","received_events_url":"https://api.github.com/users/utr066/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/utr066/protospace","description":"","fork":false,"url":"https://api.github.com/repos/utr066/protospace","forks_url":"https://api.github.com/repos/utr066/protospace/forks","keys_url":"https://api.github.com/repos/utr066/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/utr066/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/utr066/protospace/teams","hooks_url":"https://api.github.com/repos/utr066/protospace/hooks","issue_events_url":"https://api.github.com/repos/utr066/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/utr066/protospace/events","assignees_url":"https://api.github.com/repos/utr066/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/utr066/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/utr066/protospace/tags","blobs_url":"https://api.github.com/repos/utr066/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/utr066/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/utr066/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/utr066/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/utr066/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/utr066/protospace/languages","stargazers_url":"https://api.github.com/repos/utr066/protospace/stargazers","contributors_url":"https://api.github.com/repos/utr066/protospace/contributors","subscribers_url":"https://api.github.com/repos/utr066/protospace/subscribers","subscription_url":"https://api.github.com/repos/utr066/protospace/subscription","commits_url":"https://api.github.com/repos/utr066/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/utr066/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/utr066/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/utr066/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/utr066/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/utr066/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/utr066/protospace/merges","archive_url":"https://api.github.com/repos/utr066/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/utr066/protospace/downloads","issues_url":"https://api.github.com/repos/utr066/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/utr066/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/utr066/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/utr066/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/utr066/protospace/labels{/name}","releases_url":"https://api.github.com/repos/utr066/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/utr066/protospace/deployments","created_at":"2016-02-17T08:33:20Z","updated_at":"2016-03-12T15:26:26Z","pushed_at":"2016-03-25T05:36:33Z","git_url":"git://github.com/utr066/protospace.git","ssh_url":"git@github.com:utr066/protospace.git","clone_url":"https://github.com/utr066/protospace.git","svn_url":"https://github.com/utr066/protospace","homepage":null,"size":1417,"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/utr066/protospace/pulls/6"},"html":{"href":"https://github.com/utr066/protospace/pull/6"},"issue":{"href":"https://api.github.com/repos/utr066/protospace/issues/6"},"comments":{"href":"https://api.github.com/repos/utr066/protospace/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/utr066/protospace/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/utr066/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/utr066/protospace/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/utr066/protospace/statuses/34486a9b998a5f2cf943bd58ed5fd4a96ea4f0ea"}}}}