{"action":"created","comment":{"url":"https://api.github.com/repos/souichirou/protspace2/pulls/comments/45700032","id":45700032,"diff_hunk":"@@ -19,7 +20,7 @@ def create\n   private\n \n   def prototype_params\n-    params.require(:prototype).permit(:title, :catch_copy, :concept)\n+    params.require(:prototype).permit(:title, :catch_copy, :concept, :image)","path":"app/controllers/prototypes_controller.rb","position":13,"original_position":13,"commit_id":"e8c4672a6c3f428394c3fa94b44e3f47ef1ffea1","original_commit_id":"e8c4672a6c3f428394c3fa94b44e3f47ef1ffea1","user":{"login":"saino-katsutoshi","id":12888685,"avatar_url":"https://avatars.githubusercontent.com/u/12888685?v=3","gravatar_id":"","url":"https://api.github.com/users/saino-katsutoshi","html_url":"https://github.com/saino-katsutoshi","followers_url":"https://api.github.com/users/saino-katsutoshi/followers","following_url":"https://api.github.com/users/saino-katsutoshi/following{/other_user}","gists_url":"https://api.github.com/users/saino-katsutoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/saino-katsutoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saino-katsutoshi/subscriptions","organizations_url":"https://api.github.com/users/saino-katsutoshi/orgs","repos_url":"https://api.github.com/users/saino-katsutoshi/repos","events_url":"https://api.github.com/users/saino-katsutoshi/events{/privacy}","received_events_url":"https://api.github.com/users/saino-katsutoshi/received_events","type":"User","site_admin":false},"body":"accepts_nested_attributes_forを使った時のパラメーターの受け取り方はリファレンスみれば描いてあるはずです！","created_at":"2015-11-24T06:15:21Z","updated_at":"2015-11-24T06:15:21Z","html_url":"https://github.com/souichirou/protspace2/pull/8#discussion_r45700032","pull_request_url":"https://api.github.com/repos/souichirou/protspace2/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/souichirou/protspace2/pulls/comments/45700032"},"html":{"href":"https://github.com/souichirou/protspace2/pull/8#discussion_r45700032"},"pull_request":{"href":"https://api.github.com/repos/souichirou/protspace2/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/souichirou/protspace2/pulls/8","id":51620964,"html_url":"https://github.com/souichirou/protspace2/pull/8","diff_url":"https://github.com/souichirou/protspace2/pull/8.diff","patch_url":"https://github.com/souichirou/protspace2/pull/8.patch","issue_url":"https://api.github.com/repos/souichirou/protspace2/issues/8","number":8,"state":"open","locked":false,"title":"画像投稿機能作成","user":{"login":"souichirou","id":14070363,"avatar_url":"https://avatars.githubusercontent.com/u/14070363?v=3","gravatar_id":"","url":"https://api.github.com/users/souichirou","html_url":"https://github.com/souichirou","followers_url":"https://api.github.com/users/souichirou/followers","following_url":"https://api.github.com/users/souichirou/following{/other_user}","gists_url":"https://api.github.com/users/souichirou/gists{/gist_id}","starred_url":"https://api.github.com/users/souichirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/souichirou/subscriptions","organizations_url":"https://api.github.com/users/souichirou/orgs","repos_url":"https://api.github.com/users/souichirou/repos","events_url":"https://api.github.com/users/souichirou/events{/privacy}","received_events_url":"https://api.github.com/users/souichirou/received_events","type":"User","site_admin":false},"body":"# what\r\n画像を保存、投稿できるようにgemをインストールし、views、controllerなどを編集しました\r\n# why\r\n画像を投稿できるようにするため","created_at":"2015-11-24T06:12:14Z","updated_at":"2015-11-24T06:15:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e0e355b997beea13db4762fb2d86049d2ee45dd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/souichirou/protspace2/pulls/8/commits","review_comments_url":"https://api.github.com/repos/souichirou/protspace2/pulls/8/comments","review_comment_url":"https://api.github.com/repos/souichirou/protspace2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/souichirou/protspace2/issues/8/comments","statuses_url":"https://api.github.com/repos/souichirou/protspace2/statuses/e8c4672a6c3f428394c3fa94b44e3f47ef1ffea1","head":{"label":"souichirou:画像投稿機能作成","ref":"画像投稿機能作成","sha":"e8c4672a6c3f428394c3fa94b44e3f47ef1ffea1","user":{"login":"souichirou","id":14070363,"avatar_url":"https://avatars.githubusercontent.com/u/14070363?v=3","gravatar_id":"","url":"https://api.github.com/users/souichirou","html_url":"https://github.com/souichirou","followers_url":"https://api.github.com/users/souichirou/followers","following_url":"https://api.github.com/users/souichirou/following{/other_user}","gists_url":"https://api.github.com/users/souichirou/gists{/gist_id}","starred_url":"https://api.github.com/users/souichirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/souichirou/subscriptions","organizations_url":"https://api.github.com/users/souichirou/orgs","repos_url":"https://api.github.com/users/souichirou/repos","events_url":"https://api.github.com/users/souichirou/events{/privacy}","received_events_url":"https://api.github.com/users/souichirou/received_events","type":"User","site_admin":false},"repo":{"id":44668386,"name":"protspace2","full_name":"souichirou/protspace2","owner":{"login":"souichirou","id":14070363,"avatar_url":"https://avatars.githubusercontent.com/u/14070363?v=3","gravatar_id":"","url":"https://api.github.com/users/souichirou","html_url":"https://github.com/souichirou","followers_url":"https://api.github.com/users/souichirou/followers","following_url":"https://api.github.com/users/souichirou/following{/other_user}","gists_url":"https://api.github.com/users/souichirou/gists{/gist_id}","starred_url":"https://api.github.com/users/souichirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/souichirou/subscriptions","organizations_url":"https://api.github.com/users/souichirou/orgs","repos_url":"https://api.github.com/users/souichirou/repos","events_url":"https://api.github.com/users/souichirou/events{/privacy}","received_events_url":"https://api.github.com/users/souichirou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/souichirou/protspace2","description":"","fork":false,"url":"https://api.github.com/repos/souichirou/protspace2","forks_url":"https://api.github.com/repos/souichirou/protspace2/forks","keys_url":"https://api.github.com/repos/souichirou/protspace2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/souichirou/protspace2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/souichirou/protspace2/teams","hooks_url":"https://api.github.com/repos/souichirou/protspace2/hooks","issue_events_url":"https://api.github.com/repos/souichirou/protspace2/issues/events{/number}","events_url":"https://api.github.com/repos/souichirou/protspace2/events","assignees_url":"https://api.github.com/repos/souichirou/protspace2/assignees{/user}","branches_url":"https://api.github.com/repos/souichirou/protspace2/branches{/branch}","tags_url":"https://api.github.com/repos/souichirou/protspace2/tags","blobs_url":"https://api.github.com/repos/souichirou/protspace2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/souichirou/protspace2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/souichirou/protspace2/git/refs{/sha}","trees_url":"https://api.github.com/repos/souichirou/protspace2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/souichirou/protspace2/statuses/{sha}","languages_url":"https://api.github.com/repos/souichirou/protspace2/languages","stargazers_url":"https://api.github.com/repos/souichirou/protspace2/stargazers","contributors_url":"https://api.github.com/repos/souichirou/protspace2/contributors","subscribers_url":"https://api.github.com/repos/souichirou/protspace2/subscribers","subscription_url":"https://api.github.com/repos/souichirou/protspace2/subscription","commits_url":"https://api.github.com/repos/souichirou/protspace2/commits{/sha}","git_commits_url":"https://api.github.com/repos/souichirou/protspace2/git/commits{/sha}","comments_url":"https://api.github.com/repos/souichirou/protspace2/comments{/number}","issue_comment_url":"https://api.github.com/repos/souichirou/protspace2/issues/comments{/number}","contents_url":"https://api.github.com/repos/souichirou/protspace2/contents/{+path}","compare_url":"https://api.github.com/repos/souichirou/protspace2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/souichirou/protspace2/merges","archive_url":"https://api.github.com/repos/souichirou/protspace2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/souichirou/protspace2/downloads","issues_url":"https://api.github.com/repos/souichirou/protspace2/issues{/number}","pulls_url":"https://api.github.com/repos/souichirou/protspace2/pulls{/number}","milestones_url":"https://api.github.com/repos/souichirou/protspace2/milestones{/number}","notifications_url":"https://api.github.com/repos/souichirou/protspace2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/souichirou/protspace2/labels{/name}","releases_url":"https://api.github.com/repos/souichirou/protspace2/releases{/id}","created_at":"2015-10-21T10:17:12Z","updated_at":"2015-10-21T10:35:07Z","pushed_at":"2015-11-24T06:12:14Z","git_url":"git://github.com/souichirou/protspace2.git","ssh_url":"git@github.com:souichirou/protspace2.git","clone_url":"https://github.com/souichirou/protspace2.git","svn_url":"https://github.com/souichirou/protspace2","homepage":"","size":604,"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":"souichirou:master","ref":"master","sha":"d86c96f0eecb08a7b55af7b6b2dab5f8e7efe0b9","user":{"login":"souichirou","id":14070363,"avatar_url":"https://avatars.githubusercontent.com/u/14070363?v=3","gravatar_id":"","url":"https://api.github.com/users/souichirou","html_url":"https://github.com/souichirou","followers_url":"https://api.github.com/users/souichirou/followers","following_url":"https://api.github.com/users/souichirou/following{/other_user}","gists_url":"https://api.github.com/users/souichirou/gists{/gist_id}","starred_url":"https://api.github.com/users/souichirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/souichirou/subscriptions","organizations_url":"https://api.github.com/users/souichirou/orgs","repos_url":"https://api.github.com/users/souichirou/repos","events_url":"https://api.github.com/users/souichirou/events{/privacy}","received_events_url":"https://api.github.com/users/souichirou/received_events","type":"User","site_admin":false},"repo":{"id":44668386,"name":"protspace2","full_name":"souichirou/protspace2","owner":{"login":"souichirou","id":14070363,"avatar_url":"https://avatars.githubusercontent.com/u/14070363?v=3","gravatar_id":"","url":"https://api.github.com/users/souichirou","html_url":"https://github.com/souichirou","followers_url":"https://api.github.com/users/souichirou/followers","following_url":"https://api.github.com/users/souichirou/following{/other_user}","gists_url":"https://api.github.com/users/souichirou/gists{/gist_id}","starred_url":"https://api.github.com/users/souichirou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/souichirou/subscriptions","organizations_url":"https://api.github.com/users/souichirou/orgs","repos_url":"https://api.github.com/users/souichirou/repos","events_url":"https://api.github.com/users/souichirou/events{/privacy}","received_events_url":"https://api.github.com/users/souichirou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/souichirou/protspace2","description":"","fork":false,"url":"https://api.github.com/repos/souichirou/protspace2","forks_url":"https://api.github.com/repos/souichirou/protspace2/forks","keys_url":"https://api.github.com/repos/souichirou/protspace2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/souichirou/protspace2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/souichirou/protspace2/teams","hooks_url":"https://api.github.com/repos/souichirou/protspace2/hooks","issue_events_url":"https://api.github.com/repos/souichirou/protspace2/issues/events{/number}","events_url":"https://api.github.com/repos/souichirou/protspace2/events","assignees_url":"https://api.github.com/repos/souichirou/protspace2/assignees{/user}","branches_url":"https://api.github.com/repos/souichirou/protspace2/branches{/branch}","tags_url":"https://api.github.com/repos/souichirou/protspace2/tags","blobs_url":"https://api.github.com/repos/souichirou/protspace2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/souichirou/protspace2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/souichirou/protspace2/git/refs{/sha}","trees_url":"https://api.github.com/repos/souichirou/protspace2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/souichirou/protspace2/statuses/{sha}","languages_url":"https://api.github.com/repos/souichirou/protspace2/languages","stargazers_url":"https://api.github.com/repos/souichirou/protspace2/stargazers","contributors_url":"https://api.github.com/repos/souichirou/protspace2/contributors","subscribers_url":"https://api.github.com/repos/souichirou/protspace2/subscribers","subscription_url":"https://api.github.com/repos/souichirou/protspace2/subscription","commits_url":"https://api.github.com/repos/souichirou/protspace2/commits{/sha}","git_commits_url":"https://api.github.com/repos/souichirou/protspace2/git/commits{/sha}","comments_url":"https://api.github.com/repos/souichirou/protspace2/comments{/number}","issue_comment_url":"https://api.github.com/repos/souichirou/protspace2/issues/comments{/number}","contents_url":"https://api.github.com/repos/souichirou/protspace2/contents/{+path}","compare_url":"https://api.github.com/repos/souichirou/protspace2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/souichirou/protspace2/merges","archive_url":"https://api.github.com/repos/souichirou/protspace2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/souichirou/protspace2/downloads","issues_url":"https://api.github.com/repos/souichirou/protspace2/issues{/number}","pulls_url":"https://api.github.com/repos/souichirou/protspace2/pulls{/number}","milestones_url":"https://api.github.com/repos/souichirou/protspace2/milestones{/number}","notifications_url":"https://api.github.com/repos/souichirou/protspace2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/souichirou/protspace2/labels{/name}","releases_url":"https://api.github.com/repos/souichirou/protspace2/releases{/id}","created_at":"2015-10-21T10:17:12Z","updated_at":"2015-10-21T10:35:07Z","pushed_at":"2015-11-24T06:12:14Z","git_url":"git://github.com/souichirou/protspace2.git","ssh_url":"git@github.com:souichirou/protspace2.git","clone_url":"https://github.com/souichirou/protspace2.git","svn_url":"https://github.com/souichirou/protspace2","homepage":"","size":604,"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/souichirou/protspace2/pulls/8"},"html":{"href":"https://github.com/souichirou/protspace2/pull/8"},"issue":{"href":"https://api.github.com/repos/souichirou/protspace2/issues/8"},"comments":{"href":"https://api.github.com/repos/souichirou/protspace2/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/souichirou/protspace2/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/souichirou/protspace2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/souichirou/protspace2/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/souichirou/protspace2/statuses/e8c4672a6c3f428394c3fa94b44e3f47ef1ffea1"}}}}