{"action":"created","comment":{"url":"https://api.github.com/repos/rinanada/Protospace/pulls/comments/71662828","id":71662828,"diff_hunk":"@@ -1,6 +1,9 @@\n class CaptureImage < ActiveRecord::Base\n \n   enum type: { main: 0, sub: 1 }\n-\n+  self.inheritance_column = :_type_disabled\n   belongs_to :prototype\n-end\n\\ No newline at end of file\n+  mount_uploader :content, ImageUploader","path":"app/models/capture_image.rb","position":9,"original_position":9,"commit_id":"ca1e6921cf622582aa35570364b53e3260094412","original_commit_id":"ca1e6921cf622582aa35570364b53e3260094412","user":{"login":"koki-k","id":14070846,"avatar_url":"https://avatars.githubusercontent.com/u/14070846?v=3","gravatar_id":"","url":"https://api.github.com/users/koki-k","html_url":"https://github.com/koki-k","followers_url":"https://api.github.com/users/koki-k/followers","following_url":"https://api.github.com/users/koki-k/following{/other_user}","gists_url":"https://api.github.com/users/koki-k/gists{/gist_id}","starred_url":"https://api.github.com/users/koki-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koki-k/subscriptions","organizations_url":"https://api.github.com/users/koki-k/orgs","repos_url":"https://api.github.com/users/koki-k/repos","events_url":"https://api.github.com/users/koki-k/events{/privacy}","received_events_url":"https://api.github.com/users/koki-k/received_events","type":"User","site_admin":false},"body":"ImageUploaderの部分ですが\r\nimageにもいろいろありますよね(userやprototypeなど)\r\nなので ```PrototypeImageUploader``` などの名前が好ましいです！！！","created_at":"2016-07-21T08:06:28Z","updated_at":"2016-07-21T08:06:28Z","html_url":"https://github.com/rinanada/Protospace/pull/7#discussion_r71662828","pull_request_url":"https://api.github.com/repos/rinanada/Protospace/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/rinanada/Protospace/pulls/comments/71662828"},"html":{"href":"https://github.com/rinanada/Protospace/pull/7#discussion_r71662828"},"pull_request":{"href":"https://api.github.com/repos/rinanada/Protospace/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/rinanada/Protospace/pulls/7","id":78089172,"html_url":"https://github.com/rinanada/Protospace/pull/7","diff_url":"https://github.com/rinanada/Protospace/pull/7.diff","patch_url":"https://github.com/rinanada/Protospace/pull/7.patch","issue_url":"https://api.github.com/repos/rinanada/Protospace/issues/7","number":7,"state":"open","locked":false,"title":"[WIP]prototype投稿機能の実装","user":{"login":"d-cabj","id":20327688,"avatar_url":"https://avatars.githubusercontent.com/u/20327688?v=3","gravatar_id":"","url":"https://api.github.com/users/d-cabj","html_url":"https://github.com/d-cabj","followers_url":"https://api.github.com/users/d-cabj/followers","following_url":"https://api.github.com/users/d-cabj/following{/other_user}","gists_url":"https://api.github.com/users/d-cabj/gists{/gist_id}","starred_url":"https://api.github.com/users/d-cabj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-cabj/subscriptions","organizations_url":"https://api.github.com/users/d-cabj/orgs","repos_url":"https://api.github.com/users/d-cabj/repos","events_url":"https://api.github.com/users/d-cabj/events{/privacy}","received_events_url":"https://api.github.com/users/d-cabj/received_events","type":"User","site_admin":false},"body":"# what\r\nenumをcaptureimageモデルに定義（main:0, sub:1)\r\ncarrierwaveの導入\r\n投稿時にuser_idを紐付け(mergeメソッドを利用）\r\n\r\n---\r\n# why\r\nprototype投稿機能を実装するため","created_at":"2016-07-20T05:04:23Z","updated_at":"2016-07-21T08:06:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb073537ad0d54c9b769fc65298c38da4cb3fb95","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rinanada/Protospace/pulls/7/commits","review_comments_url":"https://api.github.com/repos/rinanada/Protospace/pulls/7/comments","review_comment_url":"https://api.github.com/repos/rinanada/Protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rinanada/Protospace/issues/7/comments","statuses_url":"https://api.github.com/repos/rinanada/Protospace/statuses/ca1e6921cf622582aa35570364b53e3260094412","head":{"label":"rinanada:post_function","ref":"post_function","sha":"ca1e6921cf622582aa35570364b53e3260094412","user":{"login":"rinanada","id":19504675,"avatar_url":"https://avatars.githubusercontent.com/u/19504675?v=3","gravatar_id":"","url":"https://api.github.com/users/rinanada","html_url":"https://github.com/rinanada","followers_url":"https://api.github.com/users/rinanada/followers","following_url":"https://api.github.com/users/rinanada/following{/other_user}","gists_url":"https://api.github.com/users/rinanada/gists{/gist_id}","starred_url":"https://api.github.com/users/rinanada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinanada/subscriptions","organizations_url":"https://api.github.com/users/rinanada/orgs","repos_url":"https://api.github.com/users/rinanada/repos","events_url":"https://api.github.com/users/rinanada/events{/privacy}","received_events_url":"https://api.github.com/users/rinanada/received_events","type":"User","site_admin":false},"repo":{"id":63389856,"name":"Protospace","full_name":"rinanada/Protospace","owner":{"login":"rinanada","id":19504675,"avatar_url":"https://avatars.githubusercontent.com/u/19504675?v=3","gravatar_id":"","url":"https://api.github.com/users/rinanada","html_url":"https://github.com/rinanada","followers_url":"https://api.github.com/users/rinanada/followers","following_url":"https://api.github.com/users/rinanada/following{/other_user}","gists_url":"https://api.github.com/users/rinanada/gists{/gist_id}","starred_url":"https://api.github.com/users/rinanada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinanada/subscriptions","organizations_url":"https://api.github.com/users/rinanada/orgs","repos_url":"https://api.github.com/users/rinanada/repos","events_url":"https://api.github.com/users/rinanada/events{/privacy}","received_events_url":"https://api.github.com/users/rinanada/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rinanada/Protospace","description":null,"fork":false,"url":"https://api.github.com/repos/rinanada/Protospace","forks_url":"https://api.github.com/repos/rinanada/Protospace/forks","keys_url":"https://api.github.com/repos/rinanada/Protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rinanada/Protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rinanada/Protospace/teams","hooks_url":"https://api.github.com/repos/rinanada/Protospace/hooks","issue_events_url":"https://api.github.com/repos/rinanada/Protospace/issues/events{/number}","events_url":"https://api.github.com/repos/rinanada/Protospace/events","assignees_url":"https://api.github.com/repos/rinanada/Protospace/assignees{/user}","branches_url":"https://api.github.com/repos/rinanada/Protospace/branches{/branch}","tags_url":"https://api.github.com/repos/rinanada/Protospace/tags","blobs_url":"https://api.github.com/repos/rinanada/Protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rinanada/Protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rinanada/Protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/rinanada/Protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rinanada/Protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/rinanada/Protospace/languages","stargazers_url":"https://api.github.com/repos/rinanada/Protospace/stargazers","contributors_url":"https://api.github.com/repos/rinanada/Protospace/contributors","subscribers_url":"https://api.github.com/repos/rinanada/Protospace/subscribers","subscription_url":"https://api.github.com/repos/rinanada/Protospace/subscription","commits_url":"https://api.github.com/repos/rinanada/Protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/rinanada/Protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/rinanada/Protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/rinanada/Protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/rinanada/Protospace/contents/{+path}","compare_url":"https://api.github.com/repos/rinanada/Protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rinanada/Protospace/merges","archive_url":"https://api.github.com/repos/rinanada/Protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rinanada/Protospace/downloads","issues_url":"https://api.github.com/repos/rinanada/Protospace/issues{/number}","pulls_url":"https://api.github.com/repos/rinanada/Protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/rinanada/Protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/rinanada/Protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rinanada/Protospace/labels{/name}","releases_url":"https://api.github.com/repos/rinanada/Protospace/releases{/id}","deployments_url":"https://api.github.com/repos/rinanada/Protospace/deployments","created_at":"2016-07-15T03:48:48Z","updated_at":"2016-07-18T07:46:41Z","pushed_at":"2016-07-21T07:05:47Z","git_url":"git://github.com/rinanada/Protospace.git","ssh_url":"git@github.com:rinanada/Protospace.git","clone_url":"https://github.com/rinanada/Protospace.git","svn_url":"https://github.com/rinanada/Protospace","homepage":"","size":3405,"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":"rinanada:master","ref":"master","sha":"a6de4de63d1ee54a4a99f5d874318d0af0f8f03a","user":{"login":"rinanada","id":19504675,"avatar_url":"https://avatars.githubusercontent.com/u/19504675?v=3","gravatar_id":"","url":"https://api.github.com/users/rinanada","html_url":"https://github.com/rinanada","followers_url":"https://api.github.com/users/rinanada/followers","following_url":"https://api.github.com/users/rinanada/following{/other_user}","gists_url":"https://api.github.com/users/rinanada/gists{/gist_id}","starred_url":"https://api.github.com/users/rinanada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinanada/subscriptions","organizations_url":"https://api.github.com/users/rinanada/orgs","repos_url":"https://api.github.com/users/rinanada/repos","events_url":"https://api.github.com/users/rinanada/events{/privacy}","received_events_url":"https://api.github.com/users/rinanada/received_events","type":"User","site_admin":false},"repo":{"id":63389856,"name":"Protospace","full_name":"rinanada/Protospace","owner":{"login":"rinanada","id":19504675,"avatar_url":"https://avatars.githubusercontent.com/u/19504675?v=3","gravatar_id":"","url":"https://api.github.com/users/rinanada","html_url":"https://github.com/rinanada","followers_url":"https://api.github.com/users/rinanada/followers","following_url":"https://api.github.com/users/rinanada/following{/other_user}","gists_url":"https://api.github.com/users/rinanada/gists{/gist_id}","starred_url":"https://api.github.com/users/rinanada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinanada/subscriptions","organizations_url":"https://api.github.com/users/rinanada/orgs","repos_url":"https://api.github.com/users/rinanada/repos","events_url":"https://api.github.com/users/rinanada/events{/privacy}","received_events_url":"https://api.github.com/users/rinanada/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rinanada/Protospace","description":null,"fork":false,"url":"https://api.github.com/repos/rinanada/Protospace","forks_url":"https://api.github.com/repos/rinanada/Protospace/forks","keys_url":"https://api.github.com/repos/rinanada/Protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rinanada/Protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rinanada/Protospace/teams","hooks_url":"https://api.github.com/repos/rinanada/Protospace/hooks","issue_events_url":"https://api.github.com/repos/rinanada/Protospace/issues/events{/number}","events_url":"https://api.github.com/repos/rinanada/Protospace/events","assignees_url":"https://api.github.com/repos/rinanada/Protospace/assignees{/user}","branches_url":"https://api.github.com/repos/rinanada/Protospace/branches{/branch}","tags_url":"https://api.github.com/repos/rinanada/Protospace/tags","blobs_url":"https://api.github.com/repos/rinanada/Protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rinanada/Protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rinanada/Protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/rinanada/Protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rinanada/Protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/rinanada/Protospace/languages","stargazers_url":"https://api.github.com/repos/rinanada/Protospace/stargazers","contributors_url":"https://api.github.com/repos/rinanada/Protospace/contributors","subscribers_url":"https://api.github.com/repos/rinanada/Protospace/subscribers","subscription_url":"https://api.github.com/repos/rinanada/Protospace/subscription","commits_url":"https://api.github.com/repos/rinanada/Protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/rinanada/Protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/rinanada/Protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/rinanada/Protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/rinanada/Protospace/contents/{+path}","compare_url":"https://api.github.com/repos/rinanada/Protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rinanada/Protospace/merges","archive_url":"https://api.github.com/repos/rinanada/Protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rinanada/Protospace/downloads","issues_url":"https://api.github.com/repos/rinanada/Protospace/issues{/number}","pulls_url":"https://api.github.com/repos/rinanada/Protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/rinanada/Protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/rinanada/Protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rinanada/Protospace/labels{/name}","releases_url":"https://api.github.com/repos/rinanada/Protospace/releases{/id}","deployments_url":"https://api.github.com/repos/rinanada/Protospace/deployments","created_at":"2016-07-15T03:48:48Z","updated_at":"2016-07-18T07:46:41Z","pushed_at":"2016-07-21T07:05:47Z","git_url":"git://github.com/rinanada/Protospace.git","ssh_url":"git@github.com:rinanada/Protospace.git","clone_url":"https://github.com/rinanada/Protospace.git","svn_url":"https://github.com/rinanada/Protospace","homepage":"","size":3405,"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/rinanada/Protospace/pulls/7"},"html":{"href":"https://github.com/rinanada/Protospace/pull/7"},"issue":{"href":"https://api.github.com/repos/rinanada/Protospace/issues/7"},"comments":{"href":"https://api.github.com/repos/rinanada/Protospace/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/rinanada/Protospace/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/rinanada/Protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rinanada/Protospace/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/rinanada/Protospace/statuses/ca1e6921cf622582aa35570364b53e3260094412"}}}}
{"actor":{"display_login":"koki-k"}}