{"action":"created","comment":{"url":"https://api.github.com/repos/kenyayasumura/mercari/pulls/comments/240087902","pull_request_review_id":183035224,"id":240087902,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDA4NzkwMg==","diff_hunk":"@@ -30,11 +30,7 @@ def change\n \n   def edit\n     if @item.user_id == current_user.id\n-      @item_image = ItemImage.where(item_id: @item)\n-      @image1= @item_image[0].image\n-      @image2= @item_image[1].image\n-      @image3= @item_image[2].image\n-      @image4= @item_image[3].image\n+      @images = @item.item_images","path":"app/controllers/items_controller.rb","position":9,"original_position":9,"commit_id":"1b660ecc04bddb0319d4852919e9e8feddad5599","original_commit_id":"1b660ecc04bddb0319d4852919e9e8feddad5599","user":{"login":"yuki-uchida","id":19234737,"node_id":"MDQ6VXNlcjE5MjM0NzM3","avatar_url":"https://avatars0.githubusercontent.com/u/19234737?v=4","gravatar_id":"","url":"https://api.github.com/users/yuki-uchida","html_url":"https://github.com/yuki-uchida","followers_url":"https://api.github.com/users/yuki-uchida/followers","following_url":"https://api.github.com/users/yuki-uchida/following{/other_user}","gists_url":"https://api.github.com/users/yuki-uchida/gists{/gist_id}","starred_url":"https://api.github.com/users/yuki-uchida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuki-uchida/subscriptions","organizations_url":"https://api.github.com/users/yuki-uchida/orgs","repos_url":"https://api.github.com/users/yuki-uchida/repos","events_url":"https://api.github.com/users/yuki-uchida/events{/privacy}","received_events_url":"https://api.github.com/users/yuki-uchida/received_events","type":"User","site_admin":false},"body":"@imagesはちょっと簡略化しすぎですかね〜","created_at":"2018-12-10T05:31:27Z","updated_at":"2018-12-10T05:31:52Z","html_url":"https://github.com/kenyayasumura/mercari/pull/40#discussion_r240087902","pull_request_url":"https://api.github.com/repos/kenyayasumura/mercari/pulls/40","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/kenyayasumura/mercari/pulls/comments/240087902"},"html":{"href":"https://github.com/kenyayasumura/mercari/pull/40#discussion_r240087902"},"pull_request":{"href":"https://api.github.com/repos/kenyayasumura/mercari/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/kenyayasumura/mercari/pulls/40","id":237201578,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MjAxNTc4","html_url":"https://github.com/kenyayasumura/mercari/pull/40","diff_url":"https://github.com/kenyayasumura/mercari/pull/40.diff","patch_url":"https://github.com/kenyayasumura/mercari/pull/40.patch","issue_url":"https://api.github.com/repos/kenyayasumura/mercari/issues/40","number":40,"state":"open","locked":false,"title":"機能の見直し","user":{"login":"matsui-37","id":43693595,"node_id":"MDQ6VXNlcjQzNjkzNTk1","avatar_url":"https://avatars2.githubusercontent.com/u/43693595?v=4","gravatar_id":"","url":"https://api.github.com/users/matsui-37","html_url":"https://github.com/matsui-37","followers_url":"https://api.github.com/users/matsui-37/followers","following_url":"https://api.github.com/users/matsui-37/following{/other_user}","gists_url":"https://api.github.com/users/matsui-37/gists{/gist_id}","starred_url":"https://api.github.com/users/matsui-37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matsui-37/subscriptions","organizations_url":"https://api.github.com/users/matsui-37/orgs","repos_url":"https://api.github.com/users/matsui-37/repos","events_url":"https://api.github.com/users/matsui-37/events{/privacy}","received_events_url":"https://api.github.com/users/matsui-37/received_events","type":"User","site_admin":false},"body":"#What\n・ルーティングを設定せずにページ遷移してエラーが出る箇所を遷移しないように修正。\n・編集時のアップデート時に、画像がデータベースにちゃんと保存されるように修正。\n・出品停止または再開画面でslick機能を実装。\n\n#Why\n・エラーの発生やデータベースへの圧迫を防ぐため。\n・サービスの向上を図るため。","created_at":"2018-12-10T05:26:20Z","updated_at":"2018-12-10T05:31:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88385a5c711cd74a30a1cd48321c32344a149a69","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kenyayasumura/mercari/pulls/40/commits","review_comments_url":"https://api.github.com/repos/kenyayasumura/mercari/pulls/40/comments","review_comment_url":"https://api.github.com/repos/kenyayasumura/mercari/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kenyayasumura/mercari/issues/40/comments","statuses_url":"https://api.github.com/repos/kenyayasumura/mercari/statuses/1b660ecc04bddb0319d4852919e9e8feddad5599","head":{"label":"kenyayasumura:modify-all","ref":"modify-all","sha":"1b660ecc04bddb0319d4852919e9e8feddad5599","user":{"login":"kenyayasumura","id":43692530,"node_id":"MDQ6VXNlcjQzNjkyNTMw","avatar_url":"https://avatars2.githubusercontent.com/u/43692530?v=4","gravatar_id":"","url":"https://api.github.com/users/kenyayasumura","html_url":"https://github.com/kenyayasumura","followers_url":"https://api.github.com/users/kenyayasumura/followers","following_url":"https://api.github.com/users/kenyayasumura/following{/other_user}","gists_url":"https://api.github.com/users/kenyayasumura/gists{/gist_id}","starred_url":"https://api.github.com/users/kenyayasumura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenyayasumura/subscriptions","organizations_url":"https://api.github.com/users/kenyayasumura/orgs","repos_url":"https://api.github.com/users/kenyayasumura/repos","events_url":"https://api.github.com/users/kenyayasumura/events{/privacy}","received_events_url":"https://api.github.com/users/kenyayasumura/received_events","type":"User","site_admin":false},"repo":{"id":155199713,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUxOTk3MTM=","name":"mercari","full_name":"kenyayasumura/mercari","private":false,"owner":{"login":"kenyayasumura","id":43692530,"node_id":"MDQ6VXNlcjQzNjkyNTMw","avatar_url":"https://avatars2.githubusercontent.com/u/43692530?v=4","gravatar_id":"","url":"https://api.github.com/users/kenyayasumura","html_url":"https://github.com/kenyayasumura","followers_url":"https://api.github.com/users/kenyayasumura/followers","following_url":"https://api.github.com/users/kenyayasumura/following{/other_user}","gists_url":"https://api.github.com/users/kenyayasumura/gists{/gist_id}","starred_url":"https://api.github.com/users/kenyayasumura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenyayasumura/subscriptions","organizations_url":"https://api.github.com/users/kenyayasumura/orgs","repos_url":"https://api.github.com/users/kenyayasumura/repos","events_url":"https://api.github.com/users/kenyayasumura/events{/privacy}","received_events_url":"https://api.github.com/users/kenyayasumura/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kenyayasumura/mercari","description":null,"fork":false,"url":"https://api.github.com/repos/kenyayasumura/mercari","forks_url":"https://api.github.com/repos/kenyayasumura/mercari/forks","keys_url":"https://api.github.com/repos/kenyayasumura/mercari/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kenyayasumura/mercari/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kenyayasumura/mercari/teams","hooks_url":"https://api.github.com/repos/kenyayasumura/mercari/hooks","issue_events_url":"https://api.github.com/repos/kenyayasumura/mercari/issues/events{/number}","events_url":"https://api.github.com/repos/kenyayasumura/mercari/events","assignees_url":"https://api.github.com/repos/kenyayasumura/mercari/assignees{/user}","branches_url":"https://api.github.com/repos/kenyayasumura/mercari/branches{/branch}","tags_url":"https://api.github.com/repos/kenyayasumura/mercari/tags","blobs_url":"https://api.github.com/repos/kenyayasumura/mercari/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kenyayasumura/mercari/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kenyayasumura/mercari/git/refs{/sha}","trees_url":"https://api.github.com/repos/kenyayasumura/mercari/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kenyayasumura/mercari/statuses/{sha}","languages_url":"https://api.github.com/repos/kenyayasumura/mercari/languages","stargazers_url":"https://api.github.com/repos/kenyayasumura/mercari/stargazers","contributors_url":"https://api.github.com/repos/kenyayasumura/mercari/contributors","subscribers_url":"https://api.github.com/repos/kenyayasumura/mercari/subscribers","subscription_url":"https://api.github.com/repos/kenyayasumura/mercari/subscription","commits_url":"https://api.github.com/repos/kenyayasumura/mercari/commits{/sha}","git_commits_url":"https://api.github.com/repos/kenyayasumura/mercari/git/commits{/sha}","comments_url":"https://api.github.com/repos/kenyayasumura/mercari/comments{/number}","issue_comment_url":"https://api.github.com/repos/kenyayasumura/mercari/issues/comments{/number}","contents_url":"https://api.github.com/repos/kenyayasumura/mercari/contents/{+path}","compare_url":"https://api.github.com/repos/kenyayasumura/mercari/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kenyayasumura/mercari/merges","archive_url":"https://api.github.com/repos/kenyayasumura/mercari/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kenyayasumura/mercari/downloads","issues_url":"https://api.github.com/repos/kenyayasumura/mercari/issues{/number}","pulls_url":"https://api.github.com/repos/kenyayasumura/mercari/pulls{/number}","milestones_url":"https://api.github.com/repos/kenyayasumura/mercari/milestones{/number}","notifications_url":"https://api.github.com/repos/kenyayasumura/mercari/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kenyayasumura/mercari/labels{/name}","releases_url":"https://api.github.com/repos/kenyayasumura/mercari/releases{/id}","deployments_url":"https://api.github.com/repos/kenyayasumura/mercari/deployments","created_at":"2018-10-29T11:22:11Z","updated_at":"2018-12-06T10:32:09Z","pushed_at":"2018-12-10T05:26:21Z","git_url":"git://github.com/kenyayasumura/mercari.git","ssh_url":"git@github.com:kenyayasumura/mercari.git","clone_url":"https://github.com/kenyayasumura/mercari.git","svn_url":"https://github.com/kenyayasumura/mercari","homepage":null,"size":1072,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kenyayasumura:master","ref":"master","sha":"8d6f006c072a9429f30cf8804b668fbea586e072","user":{"login":"kenyayasumura","id":43692530,"node_id":"MDQ6VXNlcjQzNjkyNTMw","avatar_url":"https://avatars2.githubusercontent.com/u/43692530?v=4","gravatar_id":"","url":"https://api.github.com/users/kenyayasumura","html_url":"https://github.com/kenyayasumura","followers_url":"https://api.github.com/users/kenyayasumura/followers","following_url":"https://api.github.com/users/kenyayasumura/following{/other_user}","gists_url":"https://api.github.com/users/kenyayasumura/gists{/gist_id}","starred_url":"https://api.github.com/users/kenyayasumura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenyayasumura/subscriptions","organizations_url":"https://api.github.com/users/kenyayasumura/orgs","repos_url":"https://api.github.com/users/kenyayasumura/repos","events_url":"https://api.github.com/users/kenyayasumura/events{/privacy}","received_events_url":"https://api.github.com/users/kenyayasumura/received_events","type":"User","site_admin":false},"repo":{"id":155199713,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUxOTk3MTM=","name":"mercari","full_name":"kenyayasumura/mercari","private":false,"owner":{"login":"kenyayasumura","id":43692530,"node_id":"MDQ6VXNlcjQzNjkyNTMw","avatar_url":"https://avatars2.githubusercontent.com/u/43692530?v=4","gravatar_id":"","url":"https://api.github.com/users/kenyayasumura","html_url":"https://github.com/kenyayasumura","followers_url":"https://api.github.com/users/kenyayasumura/followers","following_url":"https://api.github.com/users/kenyayasumura/following{/other_user}","gists_url":"https://api.github.com/users/kenyayasumura/gists{/gist_id}","starred_url":"https://api.github.com/users/kenyayasumura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenyayasumura/subscriptions","organizations_url":"https://api.github.com/users/kenyayasumura/orgs","repos_url":"https://api.github.com/users/kenyayasumura/repos","events_url":"https://api.github.com/users/kenyayasumura/events{/privacy}","received_events_url":"https://api.github.com/users/kenyayasumura/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kenyayasumura/mercari","description":null,"fork":false,"url":"https://api.github.com/repos/kenyayasumura/mercari","forks_url":"https://api.github.com/repos/kenyayasumura/mercari/forks","keys_url":"https://api.github.com/repos/kenyayasumura/mercari/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kenyayasumura/mercari/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kenyayasumura/mercari/teams","hooks_url":"https://api.github.com/repos/kenyayasumura/mercari/hooks","issue_events_url":"https://api.github.com/repos/kenyayasumura/mercari/issues/events{/number}","events_url":"https://api.github.com/repos/kenyayasumura/mercari/events","assignees_url":"https://api.github.com/repos/kenyayasumura/mercari/assignees{/user}","branches_url":"https://api.github.com/repos/kenyayasumura/mercari/branches{/branch}","tags_url":"https://api.github.com/repos/kenyayasumura/mercari/tags","blobs_url":"https://api.github.com/repos/kenyayasumura/mercari/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kenyayasumura/mercari/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kenyayasumura/mercari/git/refs{/sha}","trees_url":"https://api.github.com/repos/kenyayasumura/mercari/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kenyayasumura/mercari/statuses/{sha}","languages_url":"https://api.github.com/repos/kenyayasumura/mercari/languages","stargazers_url":"https://api.github.com/repos/kenyayasumura/mercari/stargazers","contributors_url":"https://api.github.com/repos/kenyayasumura/mercari/contributors","subscribers_url":"https://api.github.com/repos/kenyayasumura/mercari/subscribers","subscription_url":"https://api.github.com/repos/kenyayasumura/mercari/subscription","commits_url":"https://api.github.com/repos/kenyayasumura/mercari/commits{/sha}","git_commits_url":"https://api.github.com/repos/kenyayasumura/mercari/git/commits{/sha}","comments_url":"https://api.github.com/repos/kenyayasumura/mercari/comments{/number}","issue_comment_url":"https://api.github.com/repos/kenyayasumura/mercari/issues/comments{/number}","contents_url":"https://api.github.com/repos/kenyayasumura/mercari/contents/{+path}","compare_url":"https://api.github.com/repos/kenyayasumura/mercari/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kenyayasumura/mercari/merges","archive_url":"https://api.github.com/repos/kenyayasumura/mercari/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kenyayasumura/mercari/downloads","issues_url":"https://api.github.com/repos/kenyayasumura/mercari/issues{/number}","pulls_url":"https://api.github.com/repos/kenyayasumura/mercari/pulls{/number}","milestones_url":"https://api.github.com/repos/kenyayasumura/mercari/milestones{/number}","notifications_url":"https://api.github.com/repos/kenyayasumura/mercari/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kenyayasumura/mercari/labels{/name}","releases_url":"https://api.github.com/repos/kenyayasumura/mercari/releases{/id}","deployments_url":"https://api.github.com/repos/kenyayasumura/mercari/deployments","created_at":"2018-10-29T11:22:11Z","updated_at":"2018-12-06T10:32:09Z","pushed_at":"2018-12-10T05:26:21Z","git_url":"git://github.com/kenyayasumura/mercari.git","ssh_url":"git@github.com:kenyayasumura/mercari.git","clone_url":"https://github.com/kenyayasumura/mercari.git","svn_url":"https://github.com/kenyayasumura/mercari","homepage":null,"size":1072,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kenyayasumura/mercari/pulls/40"},"html":{"href":"https://github.com/kenyayasumura/mercari/pull/40"},"issue":{"href":"https://api.github.com/repos/kenyayasumura/mercari/issues/40"},"comments":{"href":"https://api.github.com/repos/kenyayasumura/mercari/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/kenyayasumura/mercari/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/kenyayasumura/mercari/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kenyayasumura/mercari/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/kenyayasumura/mercari/statuses/1b660ecc04bddb0319d4852919e9e8feddad5599"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"yuki-uchida"}}