{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/atshota/railstutorial/pulls/3","id":45131825,"html_url":"https://github.com/atshota/railstutorial/pull/3","diff_url":"https://github.com/atshota/railstutorial/pull/3.diff","patch_url":"https://github.com/atshota/railstutorial/pull/3.patch","issue_url":"https://api.github.com/repos/atshota/railstutorial/issues/3","number":3,"state":"closed","locked":false,"title":"Remove unnecessary methods","user":{"login":"snoozer05","id":3954,"avatar_url":"https://avatars.githubusercontent.com/u/3954?v=3","gravatar_id":"","url":"https://api.github.com/users/snoozer05","html_url":"https://github.com/snoozer05","followers_url":"https://api.github.com/users/snoozer05/followers","following_url":"https://api.github.com/users/snoozer05/following{/other_user}","gists_url":"https://api.github.com/users/snoozer05/gists{/gist_id}","starred_url":"https://api.github.com/users/snoozer05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoozer05/subscriptions","organizations_url":"https://api.github.com/users/snoozer05/orgs","repos_url":"https://api.github.com/users/snoozer05/repos","events_url":"https://api.github.com/users/snoozer05/events{/privacy}","received_events_url":"https://api.github.com/users/snoozer05/received_events","type":"User","site_admin":false},"body":"Railsチュートリアルでは流れをわかりやすくするためにコントローラ側に必ずアクションを記述するようになっておりますが、実はコントローラ側で何も処理しない場合にはアクションを定義せずともそのままテンプレートを表示までしてくれるのでした。\r\n\r\nということで、当該メソッドを削除してみました :-)","created_at":"2015-09-16T05:09:39Z","updated_at":"2015-09-16T05:11:03Z","closed_at":"2015-09-16T05:11:03Z","merged_at":"2015-09-16T05:11:03Z","merge_commit_sha":"1a44904daaafc783e437dc0b5a3061a0e7fbb3c7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/atshota/railstutorial/pulls/3/commits","review_comments_url":"https://api.github.com/repos/atshota/railstutorial/pulls/3/comments","review_comment_url":"https://api.github.com/repos/atshota/railstutorial/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atshota/railstutorial/issues/3/comments","statuses_url":"https://api.github.com/repos/atshota/railstutorial/statuses/6a57686d900260bdc7e5a3acdf711ffec07848cc","head":{"label":"atshota:remove-unnecessary-methods","ref":"remove-unnecessary-methods","sha":"6a57686d900260bdc7e5a3acdf711ffec07848cc","user":{"login":"atshota","id":13725886,"avatar_url":"https://avatars.githubusercontent.com/u/13725886?v=3","gravatar_id":"","url":"https://api.github.com/users/atshota","html_url":"https://github.com/atshota","followers_url":"https://api.github.com/users/atshota/followers","following_url":"https://api.github.com/users/atshota/following{/other_user}","gists_url":"https://api.github.com/users/atshota/gists{/gist_id}","starred_url":"https://api.github.com/users/atshota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atshota/subscriptions","organizations_url":"https://api.github.com/users/atshota/orgs","repos_url":"https://api.github.com/users/atshota/repos","events_url":"https://api.github.com/users/atshota/events{/privacy}","received_events_url":"https://api.github.com/users/atshota/received_events","type":"User","site_admin":false},"repo":{"id":42429992,"name":"railstutorial","full_name":"atshota/railstutorial","owner":{"login":"atshota","id":13725886,"avatar_url":"https://avatars.githubusercontent.com/u/13725886?v=3","gravatar_id":"","url":"https://api.github.com/users/atshota","html_url":"https://github.com/atshota","followers_url":"https://api.github.com/users/atshota/followers","following_url":"https://api.github.com/users/atshota/following{/other_user}","gists_url":"https://api.github.com/users/atshota/gists{/gist_id}","starred_url":"https://api.github.com/users/atshota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atshota/subscriptions","organizations_url":"https://api.github.com/users/atshota/orgs","repos_url":"https://api.github.com/users/atshota/repos","events_url":"https://api.github.com/users/atshota/events{/privacy}","received_events_url":"https://api.github.com/users/atshota/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atshota/railstutorial","description":"Railstutorial repository","fork":false,"url":"https://api.github.com/repos/atshota/railstutorial","forks_url":"https://api.github.com/repos/atshota/railstutorial/forks","keys_url":"https://api.github.com/repos/atshota/railstutorial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atshota/railstutorial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atshota/railstutorial/teams","hooks_url":"https://api.github.com/repos/atshota/railstutorial/hooks","issue_events_url":"https://api.github.com/repos/atshota/railstutorial/issues/events{/number}","events_url":"https://api.github.com/repos/atshota/railstutorial/events","assignees_url":"https://api.github.com/repos/atshota/railstutorial/assignees{/user}","branches_url":"https://api.github.com/repos/atshota/railstutorial/branches{/branch}","tags_url":"https://api.github.com/repos/atshota/railstutorial/tags","blobs_url":"https://api.github.com/repos/atshota/railstutorial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atshota/railstutorial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atshota/railstutorial/git/refs{/sha}","trees_url":"https://api.github.com/repos/atshota/railstutorial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atshota/railstutorial/statuses/{sha}","languages_url":"https://api.github.com/repos/atshota/railstutorial/languages","stargazers_url":"https://api.github.com/repos/atshota/railstutorial/stargazers","contributors_url":"https://api.github.com/repos/atshota/railstutorial/contributors","subscribers_url":"https://api.github.com/repos/atshota/railstutorial/subscribers","subscription_url":"https://api.github.com/repos/atshota/railstutorial/subscription","commits_url":"https://api.github.com/repos/atshota/railstutorial/commits{/sha}","git_commits_url":"https://api.github.com/repos/atshota/railstutorial/git/commits{/sha}","comments_url":"https://api.github.com/repos/atshota/railstutorial/comments{/number}","issue_comment_url":"https://api.github.com/repos/atshota/railstutorial/issues/comments{/number}","contents_url":"https://api.github.com/repos/atshota/railstutorial/contents/{+path}","compare_url":"https://api.github.com/repos/atshota/railstutorial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atshota/railstutorial/merges","archive_url":"https://api.github.com/repos/atshota/railstutorial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atshota/railstutorial/downloads","issues_url":"https://api.github.com/repos/atshota/railstutorial/issues{/number}","pulls_url":"https://api.github.com/repos/atshota/railstutorial/pulls{/number}","milestones_url":"https://api.github.com/repos/atshota/railstutorial/milestones{/number}","notifications_url":"https://api.github.com/repos/atshota/railstutorial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atshota/railstutorial/labels{/name}","releases_url":"https://api.github.com/repos/atshota/railstutorial/releases{/id}","created_at":"2015-09-14T05:59:14Z","updated_at":"2015-09-14T06:00:08Z","pushed_at":"2015-09-16T05:11:03Z","git_url":"git://github.com/atshota/railstutorial.git","ssh_url":"git@github.com:atshota/railstutorial.git","clone_url":"https://github.com/atshota/railstutorial.git","svn_url":"https://github.com/atshota/railstutorial","homepage":null,"size":0,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"atshota:master","ref":"master","sha":"9d9ba70c797e43c632048493a0461f6659759444","user":{"login":"atshota","id":13725886,"avatar_url":"https://avatars.githubusercontent.com/u/13725886?v=3","gravatar_id":"","url":"https://api.github.com/users/atshota","html_url":"https://github.com/atshota","followers_url":"https://api.github.com/users/atshota/followers","following_url":"https://api.github.com/users/atshota/following{/other_user}","gists_url":"https://api.github.com/users/atshota/gists{/gist_id}","starred_url":"https://api.github.com/users/atshota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atshota/subscriptions","organizations_url":"https://api.github.com/users/atshota/orgs","repos_url":"https://api.github.com/users/atshota/repos","events_url":"https://api.github.com/users/atshota/events{/privacy}","received_events_url":"https://api.github.com/users/atshota/received_events","type":"User","site_admin":false},"repo":{"id":42429992,"name":"railstutorial","full_name":"atshota/railstutorial","owner":{"login":"atshota","id":13725886,"avatar_url":"https://avatars.githubusercontent.com/u/13725886?v=3","gravatar_id":"","url":"https://api.github.com/users/atshota","html_url":"https://github.com/atshota","followers_url":"https://api.github.com/users/atshota/followers","following_url":"https://api.github.com/users/atshota/following{/other_user}","gists_url":"https://api.github.com/users/atshota/gists{/gist_id}","starred_url":"https://api.github.com/users/atshota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atshota/subscriptions","organizations_url":"https://api.github.com/users/atshota/orgs","repos_url":"https://api.github.com/users/atshota/repos","events_url":"https://api.github.com/users/atshota/events{/privacy}","received_events_url":"https://api.github.com/users/atshota/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atshota/railstutorial","description":"Railstutorial repository","fork":false,"url":"https://api.github.com/repos/atshota/railstutorial","forks_url":"https://api.github.com/repos/atshota/railstutorial/forks","keys_url":"https://api.github.com/repos/atshota/railstutorial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atshota/railstutorial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atshota/railstutorial/teams","hooks_url":"https://api.github.com/repos/atshota/railstutorial/hooks","issue_events_url":"https://api.github.com/repos/atshota/railstutorial/issues/events{/number}","events_url":"https://api.github.com/repos/atshota/railstutorial/events","assignees_url":"https://api.github.com/repos/atshota/railstutorial/assignees{/user}","branches_url":"https://api.github.com/repos/atshota/railstutorial/branches{/branch}","tags_url":"https://api.github.com/repos/atshota/railstutorial/tags","blobs_url":"https://api.github.com/repos/atshota/railstutorial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atshota/railstutorial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atshota/railstutorial/git/refs{/sha}","trees_url":"https://api.github.com/repos/atshota/railstutorial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atshota/railstutorial/statuses/{sha}","languages_url":"https://api.github.com/repos/atshota/railstutorial/languages","stargazers_url":"https://api.github.com/repos/atshota/railstutorial/stargazers","contributors_url":"https://api.github.com/repos/atshota/railstutorial/contributors","subscribers_url":"https://api.github.com/repos/atshota/railstutorial/subscribers","subscription_url":"https://api.github.com/repos/atshota/railstutorial/subscription","commits_url":"https://api.github.com/repos/atshota/railstutorial/commits{/sha}","git_commits_url":"https://api.github.com/repos/atshota/railstutorial/git/commits{/sha}","comments_url":"https://api.github.com/repos/atshota/railstutorial/comments{/number}","issue_comment_url":"https://api.github.com/repos/atshota/railstutorial/issues/comments{/number}","contents_url":"https://api.github.com/repos/atshota/railstutorial/contents/{+path}","compare_url":"https://api.github.com/repos/atshota/railstutorial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atshota/railstutorial/merges","archive_url":"https://api.github.com/repos/atshota/railstutorial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atshota/railstutorial/downloads","issues_url":"https://api.github.com/repos/atshota/railstutorial/issues{/number}","pulls_url":"https://api.github.com/repos/atshota/railstutorial/pulls{/number}","milestones_url":"https://api.github.com/repos/atshota/railstutorial/milestones{/number}","notifications_url":"https://api.github.com/repos/atshota/railstutorial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atshota/railstutorial/labels{/name}","releases_url":"https://api.github.com/repos/atshota/railstutorial/releases{/id}","created_at":"2015-09-14T05:59:14Z","updated_at":"2015-09-14T06:00:08Z","pushed_at":"2015-09-16T05:11:03Z","git_url":"git://github.com/atshota/railstutorial.git","ssh_url":"git@github.com:atshota/railstutorial.git","clone_url":"https://github.com/atshota/railstutorial.git","svn_url":"https://github.com/atshota/railstutorial","homepage":null,"size":0,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atshota/railstutorial/pulls/3"},"html":{"href":"https://github.com/atshota/railstutorial/pull/3"},"issue":{"href":"https://api.github.com/repos/atshota/railstutorial/issues/3"},"comments":{"href":"https://api.github.com/repos/atshota/railstutorial/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/atshota/railstutorial/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/atshota/railstutorial/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atshota/railstutorial/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/atshota/railstutorial/statuses/6a57686d900260bdc7e5a3acdf711ffec07848cc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"atshota","id":13725886,"avatar_url":"https://avatars.githubusercontent.com/u/13725886?v=3","gravatar_id":"","url":"https://api.github.com/users/atshota","html_url":"https://github.com/atshota","followers_url":"https://api.github.com/users/atshota/followers","following_url":"https://api.github.com/users/atshota/following{/other_user}","gists_url":"https://api.github.com/users/atshota/gists{/gist_id}","starred_url":"https://api.github.com/users/atshota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atshota/subscriptions","organizations_url":"https://api.github.com/users/atshota/orgs","repos_url":"https://api.github.com/users/atshota/repos","events_url":"https://api.github.com/users/atshota/events{/privacy}","received_events_url":"https://api.github.com/users/atshota/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":0,"deletions":11,"changed_files":1}}