{"action":"created","comment":{"url":"https://api.github.com/repos/makotosiraisi/elites-crm02/pulls/comments/85059734","pull_request_review_id":5796853,"id":85059734,"diff_hunk":"@@ -55,4 +52,8 @@ def customer_params\n     )\n   end\n \n+  def find_params","path":"app/controllers/customers_controller.rb","position":38,"original_position":38,"commit_id":"66dbd0ed9c8216a3d097fe70961a634256d9109b","original_commit_id":"66dbd0ed9c8216a3d097fe70961a634256d9109b","user":{"login":"yamadagenki","id":1964055,"avatar_url":"https://avatars.githubusercontent.com/u/1964055?v=3","gravatar_id":"","url":"https://api.github.com/users/yamadagenki","html_url":"https://github.com/yamadagenki","followers_url":"https://api.github.com/users/yamadagenki/followers","following_url":"https://api.github.com/users/yamadagenki/following{/other_user}","gists_url":"https://api.github.com/users/yamadagenki/gists{/gist_id}","starred_url":"https://api.github.com/users/yamadagenki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yamadagenki/subscriptions","organizations_url":"https://api.github.com/users/yamadagenki/orgs","repos_url":"https://api.github.com/users/yamadagenki/repos","events_url":"https://api.github.com/users/yamadagenki/events{/privacy}","received_events_url":"https://api.github.com/users/yamadagenki/received_events","type":"User","site_admin":false},"body":"これで共通化できてますね。\r\nOKです。\r\n\r\nただ、パラメータをfindしているわけじゃないので、関数名の付け方をもう少し工夫した方が良いとおもいました！\r\n\r\nfind_customerとか\r\nfind_customer_by_idとか","created_at":"2016-10-26T07:01:45Z","updated_at":"2016-10-26T07:01:45Z","html_url":"https://github.com/makotosiraisi/elites-crm02/pull/1#discussion_r85059734","pull_request_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/makotosiraisi/elites-crm02/pulls/comments/85059734"},"html":{"href":"https://github.com/makotosiraisi/elites-crm02/pull/1#discussion_r85059734"},"pull_request":{"href":"https://api.github.com/repos/makotosiraisi/elites-crm02/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/makotosiraisi/elites-crm02/pulls/1","id":90945619,"html_url":"https://github.com/makotosiraisi/elites-crm02/pull/1","diff_url":"https://github.com/makotosiraisi/elites-crm02/pull/1.diff","patch_url":"https://github.com/makotosiraisi/elites-crm02/pull/1.patch","issue_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/issues/1","number":1,"state":"open","locked":false,"title":"基本課題実装","user":{"login":"makotosiraisi","id":1709328,"avatar_url":"https://avatars.githubusercontent.com/u/1709328?v=3","gravatar_id":"","url":"https://api.github.com/users/makotosiraisi","html_url":"https://github.com/makotosiraisi","followers_url":"https://api.github.com/users/makotosiraisi/followers","following_url":"https://api.github.com/users/makotosiraisi/following{/other_user}","gists_url":"https://api.github.com/users/makotosiraisi/gists{/gist_id}","starred_url":"https://api.github.com/users/makotosiraisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makotosiraisi/subscriptions","organizations_url":"https://api.github.com/users/makotosiraisi/orgs","repos_url":"https://api.github.com/users/makotosiraisi/repos","events_url":"https://api.github.com/users/makotosiraisi/events{/privacy}","received_events_url":"https://api.github.com/users/makotosiraisi/received_events","type":"User","site_admin":false},"body":"担当レビュアー 徐さん\r\n担当メンター 前田さん\r\n\r\nプルリクエストを作成しました。\r\nレビューをお願いします。","created_at":"2016-10-26T06:50:58Z","updated_at":"2016-10-26T07:01:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37625dfadb1848bf403de0c5a775694adf03e9ee","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/pulls/1/commits","review_comments_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/pulls/1/comments","review_comment_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/issues/1/comments","statuses_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/statuses/66dbd0ed9c8216a3d097fe70961a634256d9109b","head":{"label":"makotosiraisi:exercise","ref":"exercise","sha":"66dbd0ed9c8216a3d097fe70961a634256d9109b","user":{"login":"makotosiraisi","id":1709328,"avatar_url":"https://avatars.githubusercontent.com/u/1709328?v=3","gravatar_id":"","url":"https://api.github.com/users/makotosiraisi","html_url":"https://github.com/makotosiraisi","followers_url":"https://api.github.com/users/makotosiraisi/followers","following_url":"https://api.github.com/users/makotosiraisi/following{/other_user}","gists_url":"https://api.github.com/users/makotosiraisi/gists{/gist_id}","starred_url":"https://api.github.com/users/makotosiraisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makotosiraisi/subscriptions","organizations_url":"https://api.github.com/users/makotosiraisi/orgs","repos_url":"https://api.github.com/users/makotosiraisi/repos","events_url":"https://api.github.com/users/makotosiraisi/events{/privacy}","received_events_url":"https://api.github.com/users/makotosiraisi/received_events","type":"User","site_admin":false},"repo":{"id":71510776,"name":"elites-crm02","full_name":"makotosiraisi/elites-crm02","owner":{"login":"makotosiraisi","id":1709328,"avatar_url":"https://avatars.githubusercontent.com/u/1709328?v=3","gravatar_id":"","url":"https://api.github.com/users/makotosiraisi","html_url":"https://github.com/makotosiraisi","followers_url":"https://api.github.com/users/makotosiraisi/followers","following_url":"https://api.github.com/users/makotosiraisi/following{/other_user}","gists_url":"https://api.github.com/users/makotosiraisi/gists{/gist_id}","starred_url":"https://api.github.com/users/makotosiraisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makotosiraisi/subscriptions","organizations_url":"https://api.github.com/users/makotosiraisi/orgs","repos_url":"https://api.github.com/users/makotosiraisi/repos","events_url":"https://api.github.com/users/makotosiraisi/events{/privacy}","received_events_url":"https://api.github.com/users/makotosiraisi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/makotosiraisi/elites-crm02","description":null,"fork":false,"url":"https://api.github.com/repos/makotosiraisi/elites-crm02","forks_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/forks","keys_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/teams","hooks_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/hooks","issue_events_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/issues/events{/number}","events_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/events","assignees_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/assignees{/user}","branches_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/branches{/branch}","tags_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/tags","blobs_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/git/refs{/sha}","trees_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/statuses/{sha}","languages_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/languages","stargazers_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/stargazers","contributors_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/contributors","subscribers_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/subscribers","subscription_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/subscription","commits_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/commits{/sha}","git_commits_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/git/commits{/sha}","comments_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/comments{/number}","issue_comment_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/issues/comments{/number}","contents_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/contents/{+path}","compare_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/merges","archive_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/downloads","issues_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/issues{/number}","pulls_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/pulls{/number}","milestones_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/milestones{/number}","notifications_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/labels{/name}","releases_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/releases{/id}","deployments_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/deployments","created_at":"2016-10-20T22:53:36Z","updated_at":"2016-10-21T01:46:08Z","pushed_at":"2016-10-26T06:50:58Z","git_url":"git://github.com/makotosiraisi/elites-crm02.git","ssh_url":"git@github.com:makotosiraisi/elites-crm02.git","clone_url":"https://github.com/makotosiraisi/elites-crm02.git","svn_url":"https://github.com/makotosiraisi/elites-crm02","homepage":null,"size":73,"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":"makotosiraisi:master","ref":"master","sha":"90a29a2928caffd29e1a44d9fa5c867cc687d584","user":{"login":"makotosiraisi","id":1709328,"avatar_url":"https://avatars.githubusercontent.com/u/1709328?v=3","gravatar_id":"","url":"https://api.github.com/users/makotosiraisi","html_url":"https://github.com/makotosiraisi","followers_url":"https://api.github.com/users/makotosiraisi/followers","following_url":"https://api.github.com/users/makotosiraisi/following{/other_user}","gists_url":"https://api.github.com/users/makotosiraisi/gists{/gist_id}","starred_url":"https://api.github.com/users/makotosiraisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makotosiraisi/subscriptions","organizations_url":"https://api.github.com/users/makotosiraisi/orgs","repos_url":"https://api.github.com/users/makotosiraisi/repos","events_url":"https://api.github.com/users/makotosiraisi/events{/privacy}","received_events_url":"https://api.github.com/users/makotosiraisi/received_events","type":"User","site_admin":false},"repo":{"id":71510776,"name":"elites-crm02","full_name":"makotosiraisi/elites-crm02","owner":{"login":"makotosiraisi","id":1709328,"avatar_url":"https://avatars.githubusercontent.com/u/1709328?v=3","gravatar_id":"","url":"https://api.github.com/users/makotosiraisi","html_url":"https://github.com/makotosiraisi","followers_url":"https://api.github.com/users/makotosiraisi/followers","following_url":"https://api.github.com/users/makotosiraisi/following{/other_user}","gists_url":"https://api.github.com/users/makotosiraisi/gists{/gist_id}","starred_url":"https://api.github.com/users/makotosiraisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makotosiraisi/subscriptions","organizations_url":"https://api.github.com/users/makotosiraisi/orgs","repos_url":"https://api.github.com/users/makotosiraisi/repos","events_url":"https://api.github.com/users/makotosiraisi/events{/privacy}","received_events_url":"https://api.github.com/users/makotosiraisi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/makotosiraisi/elites-crm02","description":null,"fork":false,"url":"https://api.github.com/repos/makotosiraisi/elites-crm02","forks_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/forks","keys_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/teams","hooks_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/hooks","issue_events_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/issues/events{/number}","events_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/events","assignees_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/assignees{/user}","branches_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/branches{/branch}","tags_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/tags","blobs_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/git/refs{/sha}","trees_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/statuses/{sha}","languages_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/languages","stargazers_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/stargazers","contributors_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/contributors","subscribers_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/subscribers","subscription_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/subscription","commits_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/commits{/sha}","git_commits_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/git/commits{/sha}","comments_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/comments{/number}","issue_comment_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/issues/comments{/number}","contents_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/contents/{+path}","compare_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/merges","archive_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/downloads","issues_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/issues{/number}","pulls_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/pulls{/number}","milestones_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/milestones{/number}","notifications_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/labels{/name}","releases_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/releases{/id}","deployments_url":"https://api.github.com/repos/makotosiraisi/elites-crm02/deployments","created_at":"2016-10-20T22:53:36Z","updated_at":"2016-10-21T01:46:08Z","pushed_at":"2016-10-26T06:50:58Z","git_url":"git://github.com/makotosiraisi/elites-crm02.git","ssh_url":"git@github.com:makotosiraisi/elites-crm02.git","clone_url":"https://github.com/makotosiraisi/elites-crm02.git","svn_url":"https://github.com/makotosiraisi/elites-crm02","homepage":null,"size":73,"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/makotosiraisi/elites-crm02/pulls/1"},"html":{"href":"https://github.com/makotosiraisi/elites-crm02/pull/1"},"issue":{"href":"https://api.github.com/repos/makotosiraisi/elites-crm02/issues/1"},"comments":{"href":"https://api.github.com/repos/makotosiraisi/elites-crm02/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/makotosiraisi/elites-crm02/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/makotosiraisi/elites-crm02/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makotosiraisi/elites-crm02/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/makotosiraisi/elites-crm02/statuses/66dbd0ed9c8216a3d097fe70961a634256d9109b"}}}}
{"actor":{"display_login":"yamadagenki"}}