GitHub PullRequestReviewCommentEvent at 2014-12-21 13:30:38
Repository: library
Actor: kawasakiatsushi
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/kawasakiatsushi/library/pulls/comments/22147651","id":22147651,"diff_hunk":"@@ -1,8 +1,11 @@\n class BooksController < ApplicationController\n-  respond_to :html\n+  before_filter :find_book, only: %i(show edit update destroy)\n \n   def index\n-    @books = Book.where(deleted_at: nil)\n+    @books = Book.all","path":"app/controllers/books_controller.rb","position":7,"original_position":7,"commit_id":"599105378e5a2c3d9d3d32e4e93de60d65f1fc07","original_commit_id":"599105378e5a2c3d9d3d32e4e93de60d65f1fc07","user":{"login":"kawasakiatsushi","id":6297063,"avatar_url":"https://avatars.githubusercontent.com/u/6297063?v=3","gravatar_id":"","url":"https://api.github.com/users/kawasakiatsushi","html_url":"https://github.com/kawasakiatsushi","followers_url":"https://api.github.com/users/kawasakiatsushi/followers","following_url":"https://api.github.com/users/kawasakiatsushi/following{/other_user}","gists_url":"https://api.github.com/users/kawasakiatsushi/gists{/gist_id}","starred_url":"https://api.github.com/users/kawasakiatsushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kawasakiatsushi/subscriptions","organizations_url":"https://api.github.com/users/kawasakiatsushi/orgs","repos_url":"https://api.github.com/users/kawasakiatsushi/repos","events_url":"https://api.github.com/users/kawasakiatsushi/events{/privacy}","received_events_url":"https://api.github.com/users/kawasakiatsushi/received_events","type":"User","site_admin":false},"body":"scopedが4では非推奨になったっぽいです。。。\r\nhttp://d.hatena.ne.jp/suginoy/20120605/p3\r\n","created_at":"2014-12-21T13:30:38Z","updated_at":"2014-12-21T13:30:38Z","html_url":"https://github.com/kawasakiatsushi/library/pull/2#discussion_r22147651","pull_request_url":"https://api.github.com/repos/kawasakiatsushi/library/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/kawasakiatsushi/library/pulls/comments/22147651"},"html":{"href":"https://github.com/kawasakiatsushi/library/pull/2#discussion_r22147651"},"pull_request":{"href":"https://api.github.com/repos/kawasakiatsushi/library/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/kawasakiatsushi/library/pulls/2","id":25717771,"html_url":"https://github.com/kawasakiatsushi/library/pull/2","diff_url":"https://github.com/kawasakiatsushi/library/pull/2.diff","patch_url":"https://github.com/kawasakiatsushi/library/pull/2.patch","issue_url":"https://api.github.com/repos/kawasakiatsushi/library/issues/2","number":2,"state":"open","locked":false,"title":"Books manage feature","user":{"login":"kawasakiatsushi","id":6297063,"avatar_url":"https://avatars.githubusercontent.com/u/6297063?v=3","gravatar_id":"","url":"https://api.github.com/users/kawasakiatsushi","html_url":"https://github.com/kawasakiatsushi","followers_url":"https://api.github.com/users/kawasakiatsushi/followers","following_url":"https://api.github.com/users/kawasakiatsushi/following{/other_user}","gists_url":"https://api.github.com/users/kawasakiatsushi/gists{/gist_id}","starred_url":"https://api.github.com/users/kawasakiatsushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kawasakiatsushi/subscriptions","organizations_url":"https://api.github.com/users/kawasakiatsushi/orgs","repos_url":"https://api.github.com/users/kawasakiatsushi/repos","events_url":"https://api.github.com/users/kawasakiatsushi/events{/privacy}","received_events_url":"https://api.github.com/users/kawasakiatsushi/received_events","type":"User","site_admin":false},"body":"・冊数管理用にテーブル変更\r\n\r\n・viewのindexとshowを修正\r\n\r\n⇛登録周りの修正を今後、行う予定です。","created_at":"2014-12-09T03:53:54Z","updated_at":"2014-12-21T13:30:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0539a5cc20c89f3856ea683a0780b97755cb44db","assignee":{"login":"kikaineko","id":724270,"avatar_url":"https://avatars.githubusercontent.com/u/724270?v=3","gravatar_id":"","url":"https://api.github.com/users/kikaineko","html_url":"https://github.com/kikaineko","followers_url":"https://api.github.com/users/kikaineko/followers","following_url":"https://api.github.com/users/kikaineko/following{/other_user}","gists_url":"https://api.github.com/users/kikaineko/gists{/gist_id}","starred_url":"https://api.github.com/users/kikaineko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kikaineko/subscriptions","organizations_url":"https://api.github.com/users/kikaineko/orgs","repos_url":"https://api.github.com/users/kikaineko/repos","events_url":"https://api.github.com/users/kikaineko/events{/privacy}","received_events_url":"https://api.github.com/users/kikaineko/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kawasakiatsushi/library/pulls/2/commits","review_comments_url":"https://api.github.com/repos/kawasakiatsushi/library/pulls/2/comments","review_comment_url":"https://api.github.com/repos/kawasakiatsushi/library/pulls/comments/{number}","comments_url":"https://api.github.com/repos/kawasakiatsushi/library/issues/2/comments","statuses_url":"https://api.github.com/repos/kawasakiatsushi/library/statuses/599105378e5a2c3d9d3d32e4e93de60d65f1fc07","head":{"label":"kawasakiatsushi:books_manage_feature","ref":"books_manage_feature","sha":"599105378e5a2c3d9d3d32e4e93de60d65f1fc07","user":{"login":"kawasakiatsushi","id":6297063,"avatar_url":"https://avatars.githubusercontent.com/u/6297063?v=3","gravatar_id":"","url":"https://api.github.com/users/kawasakiatsushi","html_url":"https://github.com/kawasakiatsushi","followers_url":"https://api.github.com/users/kawasakiatsushi/followers","following_url":"https://api.github.com/users/kawasakiatsushi/following{/other_user}","gists_url":"https://api.github.com/users/kawasakiatsushi/gists{/gist_id}","starred_url":"https://api.github.com/users/kawasakiatsushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kawasakiatsushi/subscriptions","organizations_url":"https://api.github.com/users/kawasakiatsushi/orgs","repos_url":"https://api.github.com/users/kawasakiatsushi/repos","events_url":"https://api.github.com/users/kawasakiatsushi/events{/privacy}","received_events_url":"https://api.github.com/users/kawasakiatsushi/received_events","type":"User","site_admin":false},"repo":{"id":26906013,"name":"library","full_name":"kawasakiatsushi/library","owner":{"login":"kawasakiatsushi","id":6297063,"avatar_url":"https://avatars.githubusercontent.com/u/6297063?v=3","gravatar_id":"","url":"https://api.github.com/users/kawasakiatsushi","html_url":"https://github.com/kawasakiatsushi","followers_url":"https://api.github.com/users/kawasakiatsushi/followers","following_url":"https://api.github.com/users/kawasakiatsushi/following{/other_user}","gists_url":"https://api.github.com/users/kawasakiatsushi/gists{/gist_id}","starred_url":"https://api.github.com/users/kawasakiatsushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kawasakiatsushi/subscriptions","organizations_url":"https://api.github.com/users/kawasakiatsushi/orgs","repos_url":"https://api.github.com/users/kawasakiatsushi/repos","events_url":"https://api.github.com/users/kawasakiatsushi/events{/privacy}","received_events_url":"https://api.github.com/users/kawasakiatsushi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kawasakiatsushi/library","description":"","fork":false,"url":"https://api.github.com/repos/kawasakiatsushi/library","forks_url":"https://api.github.com/repos/kawasakiatsushi/library/forks","keys_url":"https://api.github.com/repos/kawasakiatsushi/library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kawasakiatsushi/library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kawasakiatsushi/library/teams","hooks_url":"https://api.github.com/repos/kawasakiatsushi/library/hooks","issue_events_url":"https://api.github.com/repos/kawasakiatsushi/library/issues/events{/number}","events_url":"https://api.github.com/repos/kawasakiatsushi/library/events","assignees_url":"https://api.github.com/repos/kawasakiatsushi/library/assignees{/user}","branches_url":"https://api.github.com/repos/kawasakiatsushi/library/branches{/branch}","tags_url":"https://api.github.com/repos/kawasakiatsushi/library/tags","blobs_url":"https://api.github.com/repos/kawasakiatsushi/library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kawasakiatsushi/library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kawasakiatsushi/library/git/refs{/sha}","trees_url":"https://api.github.com/repos/kawasakiatsushi/library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kawasakiatsushi/library/statuses/{sha}","languages_url":"https://api.github.com/repos/kawasakiatsushi/library/languages","stargazers_url":"https://api.github.com/repos/kawasakiatsushi/library/stargazers","contributors_url":"https://api.github.com/repos/kawasakiatsushi/library/contributors","subscribers_url":"https://api.github.com/repos/kawasakiatsushi/library/subscribers","subscription_url":"https://api.github.com/repos/kawasakiatsushi/library/subscription","commits_url":"https://api.github.com/repos/kawasakiatsushi/library/commits{/sha}","git_commits_url":"https://api.github.com/repos/kawasakiatsushi/library/git/commits{/sha}","comments_url":"https://api.github.com/repos/kawasakiatsushi/library/comments{/number}","issue_comment_url":"https://api.github.com/repos/kawasakiatsushi/library/issues/comments/{number}","contents_url":"https://api.github.com/repos/kawasakiatsushi/library/contents/{+path}","compare_url":"https://api.github.com/repos/kawasakiatsushi/library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kawasakiatsushi/library/merges","archive_url":"https://api.github.com/repos/kawasakiatsushi/library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kawasakiatsushi/library/downloads","issues_url":"https://api.github.com/repos/kawasakiatsushi/library/issues{/number}","pulls_url":"https://api.github.com/repos/kawasakiatsushi/library/pulls{/number}","milestones_url":"https://api.github.com/repos/kawasakiatsushi/library/milestones{/number}","notifications_url":"https://api.github.com/repos/kawasakiatsushi/library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kawasakiatsushi/library/labels{/name}","releases_url":"https://api.github.com/repos/kawasakiatsushi/library/releases{/id}","created_at":"2014-11-20T09:51:46Z","updated_at":"2014-12-09T03:33:36Z","pushed_at":"2014-12-17T09:09:26Z","git_url":"git://github.com/kawasakiatsushi/library.git","ssh_url":"git@github.com:kawasakiatsushi/library.git","clone_url":"https://github.com/kawasakiatsushi/library.git","svn_url":"https://github.com/kawasakiatsushi/library","homepage":null,"size":281,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"kawasakiatsushi:master","ref":"master","sha":"71335293c416401c50094c63d6939f69d330d93a","user":{"login":"kawasakiatsushi","id":6297063,"avatar_url":"https://avatars.githubusercontent.com/u/6297063?v=3","gravatar_id":"","url":"https://api.github.com/users/kawasakiatsushi","html_url":"https://github.com/kawasakiatsushi","followers_url":"https://api.github.com/users/kawasakiatsushi/followers","following_url":"https://api.github.com/users/kawasakiatsushi/following{/other_user}","gists_url":"https://api.github.com/users/kawasakiatsushi/gists{/gist_id}","starred_url":"https://api.github.com/users/kawasakiatsushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kawasakiatsushi/subscriptions","organizations_url":"https://api.github.com/users/kawasakiatsushi/orgs","repos_url":"https://api.github.com/users/kawasakiatsushi/repos","events_url":"https://api.github.com/users/kawasakiatsushi/events{/privacy}","received_events_url":"https://api.github.com/users/kawasakiatsushi/received_events","type":"User","site_admin":false},"repo":{"id":26906013,"name":"library","full_name":"kawasakiatsushi/library","owner":{"login":"kawasakiatsushi","id":6297063,"avatar_url":"https://avatars.githubusercontent.com/u/6297063?v=3","gravatar_id":"","url":"https://api.github.com/users/kawasakiatsushi","html_url":"https://github.com/kawasakiatsushi","followers_url":"https://api.github.com/users/kawasakiatsushi/followers","following_url":"https://api.github.com/users/kawasakiatsushi/following{/other_user}","gists_url":"https://api.github.com/users/kawasakiatsushi/gists{/gist_id}","starred_url":"https://api.github.com/users/kawasakiatsushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kawasakiatsushi/subscriptions","organizations_url":"https://api.github.com/users/kawasakiatsushi/orgs","repos_url":"https://api.github.com/users/kawasakiatsushi/repos","events_url":"https://api.github.com/users/kawasakiatsushi/events{/privacy}","received_events_url":"https://api.github.com/users/kawasakiatsushi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kawasakiatsushi/library","description":"","fork":false,"url":"https://api.github.com/repos/kawasakiatsushi/library","forks_url":"https://api.github.com/repos/kawasakiatsushi/library/forks","keys_url":"https://api.github.com/repos/kawasakiatsushi/library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kawasakiatsushi/library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kawasakiatsushi/library/teams","hooks_url":"https://api.github.com/repos/kawasakiatsushi/library/hooks","issue_events_url":"https://api.github.com/repos/kawasakiatsushi/library/issues/events{/number}","events_url":"https://api.github.com/repos/kawasakiatsushi/library/events","assignees_url":"https://api.github.com/repos/kawasakiatsushi/library/assignees{/user}","branches_url":"https://api.github.com/repos/kawasakiatsushi/library/branches{/branch}","tags_url":"https://api.github.com/repos/kawasakiatsushi/library/tags","blobs_url":"https://api.github.com/repos/kawasakiatsushi/library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kawasakiatsushi/library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kawasakiatsushi/library/git/refs{/sha}","trees_url":"https://api.github.com/repos/kawasakiatsushi/library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kawasakiatsushi/library/statuses/{sha}","languages_url":"https://api.github.com/repos/kawasakiatsushi/library/languages","stargazers_url":"https://api.github.com/repos/kawasakiatsushi/library/stargazers","contributors_url":"https://api.github.com/repos/kawasakiatsushi/library/contributors","subscribers_url":"https://api.github.com/repos/kawasakiatsushi/library/subscribers","subscription_url":"https://api.github.com/repos/kawasakiatsushi/library/subscription","commits_url":"https://api.github.com/repos/kawasakiatsushi/library/commits{/sha}","git_commits_url":"https://api.github.com/repos/kawasakiatsushi/library/git/commits{/sha}","comments_url":"https://api.github.com/repos/kawasakiatsushi/library/comments{/number}","issue_comment_url":"https://api.github.com/repos/kawasakiatsushi/library/issues/comments/{number}","contents_url":"https://api.github.com/repos/kawasakiatsushi/library/contents/{+path}","compare_url":"https://api.github.com/repos/kawasakiatsushi/library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kawasakiatsushi/library/merges","archive_url":"https://api.github.com/repos/kawasakiatsushi/library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kawasakiatsushi/library/downloads","issues_url":"https://api.github.com/repos/kawasakiatsushi/library/issues{/number}","pulls_url":"https://api.github.com/repos/kawasakiatsushi/library/pulls{/number}","milestones_url":"https://api.github.com/repos/kawasakiatsushi/library/milestones{/number}","notifications_url":"https://api.github.com/repos/kawasakiatsushi/library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kawasakiatsushi/library/labels{/name}","releases_url":"https://api.github.com/repos/kawasakiatsushi/library/releases{/id}","created_at":"2014-11-20T09:51:46Z","updated_at":"2014-12-09T03:33:36Z","pushed_at":"2014-12-17T09:09:26Z","git_url":"git://github.com/kawasakiatsushi/library.git","ssh_url":"git@github.com:kawasakiatsushi/library.git","clone_url":"https://github.com/kawasakiatsushi/library.git","svn_url":"https://github.com/kawasakiatsushi/library","homepage":null,"size":281,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kawasakiatsushi/library/pulls/2"},"html":{"href":"https://github.com/kawasakiatsushi/library/pull/2"},"issue":{"href":"https://api.github.com/repos/kawasakiatsushi/library/issues/2"},"comments":{"href":"https://api.github.com/repos/kawasakiatsushi/library/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/kawasakiatsushi/library/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/kawasakiatsushi/library/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/kawasakiatsushi/library/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/kawasakiatsushi/library/statuses/599105378e5a2c3d9d3d32e4e93de60d65f1fc07"}}}}