{"action":"created","comment":{"url":"https://api.github.com/repos/jesseract/bookstore/pulls/comments/41404961","id":41404961,"diff_hunk":"@@ -0,0 +1,9 @@\n+ActiveAdmin.register Book do\n+  permit_params :title, :published_date, :author, :price, :category\n+\n+  config.clear_action_items!\n+\n+  action_item :create, :only => :index do","path":"app/admin/book.rb","position":6,"original_position":6,"commit_id":"c4365e20d69eccba7868aff7d984602712655440","original_commit_id":"c4365e20d69eccba7868aff7d984602712655440","user":{"login":"dkniffin","id":1680080,"avatar_url":"https://avatars.githubusercontent.com/u/1680080?v=3","gravatar_id":"","url":"https://api.github.com/users/dkniffin","html_url":"https://github.com/dkniffin","followers_url":"https://api.github.com/users/dkniffin/followers","following_url":"https://api.github.com/users/dkniffin/following{/other_user}","gists_url":"https://api.github.com/users/dkniffin/gists{/gist_id}","starred_url":"https://api.github.com/users/dkniffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkniffin/subscriptions","organizations_url":"https://api.github.com/users/dkniffin/orgs","repos_url":"https://api.github.com/users/dkniffin/repos","events_url":"https://api.github.com/users/dkniffin/events{/privacy}","received_events_url":"https://api.github.com/users/dkniffin/received_events","type":"User","site_admin":false},"body":"don't forget to use ruby 2.0 style hash syntax (ie don't use `=>`):\r\n\r\n`action_item :create, only: :index do`","created_at":"2015-10-07T15:31:11Z","updated_at":"2015-10-07T15:31:11Z","html_url":"https://github.com/jesseract/bookstore/pull/2#discussion_r41404961","pull_request_url":"https://api.github.com/repos/jesseract/bookstore/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/jesseract/bookstore/pulls/comments/41404961"},"html":{"href":"https://github.com/jesseract/bookstore/pull/2#discussion_r41404961"},"pull_request":{"href":"https://api.github.com/repos/jesseract/bookstore/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/jesseract/bookstore/pulls/2","id":46931303,"html_url":"https://github.com/jesseract/bookstore/pull/2","diff_url":"https://github.com/jesseract/bookstore/pull/2.diff","patch_url":"https://github.com/jesseract/bookstore/pull/2.patch","issue_url":"https://api.github.com/repos/jesseract/bookstore/issues/2","number":2,"state":"open","locked":false,"title":"Tests/admin","user":{"login":"jesseract","id":10173258,"avatar_url":"https://avatars.githubusercontent.com/u/10173258?v=3","gravatar_id":"","url":"https://api.github.com/users/jesseract","html_url":"https://github.com/jesseract","followers_url":"https://api.github.com/users/jesseract/followers","following_url":"https://api.github.com/users/jesseract/following{/other_user}","gists_url":"https://api.github.com/users/jesseract/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseract/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseract/subscriptions","organizations_url":"https://api.github.com/users/jesseract/orgs","repos_url":"https://api.github.com/users/jesseract/repos","events_url":"https://api.github.com/users/jesseract/events{/privacy}","received_events_url":"https://api.github.com/users/jesseract/received_events","type":"User","site_admin":false},"body":"Complete Administration Features for Bookstore app.","created_at":"2015-10-06T17:17:55Z","updated_at":"2015-10-07T15:31:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a4bd75889ad2a4c01e630cb2e6f7fd9e1bd9366","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jesseract/bookstore/pulls/2/commits","review_comments_url":"https://api.github.com/repos/jesseract/bookstore/pulls/2/comments","review_comment_url":"https://api.github.com/repos/jesseract/bookstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jesseract/bookstore/issues/2/comments","statuses_url":"https://api.github.com/repos/jesseract/bookstore/statuses/c4365e20d69eccba7868aff7d984602712655440","head":{"label":"jesseract:tests/admin","ref":"tests/admin","sha":"c4365e20d69eccba7868aff7d984602712655440","user":{"login":"jesseract","id":10173258,"avatar_url":"https://avatars.githubusercontent.com/u/10173258?v=3","gravatar_id":"","url":"https://api.github.com/users/jesseract","html_url":"https://github.com/jesseract","followers_url":"https://api.github.com/users/jesseract/followers","following_url":"https://api.github.com/users/jesseract/following{/other_user}","gists_url":"https://api.github.com/users/jesseract/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseract/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseract/subscriptions","organizations_url":"https://api.github.com/users/jesseract/orgs","repos_url":"https://api.github.com/users/jesseract/repos","events_url":"https://api.github.com/users/jesseract/events{/privacy}","received_events_url":"https://api.github.com/users/jesseract/received_events","type":"User","site_admin":false},"repo":{"id":43314285,"name":"bookstore","full_name":"jesseract/bookstore","owner":{"login":"jesseract","id":10173258,"avatar_url":"https://avatars.githubusercontent.com/u/10173258?v=3","gravatar_id":"","url":"https://api.github.com/users/jesseract","html_url":"https://github.com/jesseract","followers_url":"https://api.github.com/users/jesseract/followers","following_url":"https://api.github.com/users/jesseract/following{/other_user}","gists_url":"https://api.github.com/users/jesseract/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseract/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseract/subscriptions","organizations_url":"https://api.github.com/users/jesseract/orgs","repos_url":"https://api.github.com/users/jesseract/repos","events_url":"https://api.github.com/users/jesseract/events{/privacy}","received_events_url":"https://api.github.com/users/jesseract/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jesseract/bookstore","description":"","fork":false,"url":"https://api.github.com/repos/jesseract/bookstore","forks_url":"https://api.github.com/repos/jesseract/bookstore/forks","keys_url":"https://api.github.com/repos/jesseract/bookstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jesseract/bookstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jesseract/bookstore/teams","hooks_url":"https://api.github.com/repos/jesseract/bookstore/hooks","issue_events_url":"https://api.github.com/repos/jesseract/bookstore/issues/events{/number}","events_url":"https://api.github.com/repos/jesseract/bookstore/events","assignees_url":"https://api.github.com/repos/jesseract/bookstore/assignees{/user}","branches_url":"https://api.github.com/repos/jesseract/bookstore/branches{/branch}","tags_url":"https://api.github.com/repos/jesseract/bookstore/tags","blobs_url":"https://api.github.com/repos/jesseract/bookstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jesseract/bookstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jesseract/bookstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/jesseract/bookstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jesseract/bookstore/statuses/{sha}","languages_url":"https://api.github.com/repos/jesseract/bookstore/languages","stargazers_url":"https://api.github.com/repos/jesseract/bookstore/stargazers","contributors_url":"https://api.github.com/repos/jesseract/bookstore/contributors","subscribers_url":"https://api.github.com/repos/jesseract/bookstore/subscribers","subscription_url":"https://api.github.com/repos/jesseract/bookstore/subscription","commits_url":"https://api.github.com/repos/jesseract/bookstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/jesseract/bookstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/jesseract/bookstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/jesseract/bookstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/jesseract/bookstore/contents/{+path}","compare_url":"https://api.github.com/repos/jesseract/bookstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jesseract/bookstore/merges","archive_url":"https://api.github.com/repos/jesseract/bookstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jesseract/bookstore/downloads","issues_url":"https://api.github.com/repos/jesseract/bookstore/issues{/number}","pulls_url":"https://api.github.com/repos/jesseract/bookstore/pulls{/number}","milestones_url":"https://api.github.com/repos/jesseract/bookstore/milestones{/number}","notifications_url":"https://api.github.com/repos/jesseract/bookstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jesseract/bookstore/labels{/name}","releases_url":"https://api.github.com/repos/jesseract/bookstore/releases{/id}","created_at":"2015-09-28T16:59:44Z","updated_at":"2015-09-28T17:19:35Z","pushed_at":"2015-10-06T20:44:15Z","git_url":"git://github.com/jesseract/bookstore.git","ssh_url":"git@github.com:jesseract/bookstore.git","clone_url":"https://github.com/jesseract/bookstore.git","svn_url":"https://github.com/jesseract/bookstore","homepage":null,"size":244,"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":"jesseract:master","ref":"master","sha":"571ad4470c71ca101afbbbeb41009cb0fbb19e83","user":{"login":"jesseract","id":10173258,"avatar_url":"https://avatars.githubusercontent.com/u/10173258?v=3","gravatar_id":"","url":"https://api.github.com/users/jesseract","html_url":"https://github.com/jesseract","followers_url":"https://api.github.com/users/jesseract/followers","following_url":"https://api.github.com/users/jesseract/following{/other_user}","gists_url":"https://api.github.com/users/jesseract/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseract/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseract/subscriptions","organizations_url":"https://api.github.com/users/jesseract/orgs","repos_url":"https://api.github.com/users/jesseract/repos","events_url":"https://api.github.com/users/jesseract/events{/privacy}","received_events_url":"https://api.github.com/users/jesseract/received_events","type":"User","site_admin":false},"repo":{"id":43314285,"name":"bookstore","full_name":"jesseract/bookstore","owner":{"login":"jesseract","id":10173258,"avatar_url":"https://avatars.githubusercontent.com/u/10173258?v=3","gravatar_id":"","url":"https://api.github.com/users/jesseract","html_url":"https://github.com/jesseract","followers_url":"https://api.github.com/users/jesseract/followers","following_url":"https://api.github.com/users/jesseract/following{/other_user}","gists_url":"https://api.github.com/users/jesseract/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseract/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseract/subscriptions","organizations_url":"https://api.github.com/users/jesseract/orgs","repos_url":"https://api.github.com/users/jesseract/repos","events_url":"https://api.github.com/users/jesseract/events{/privacy}","received_events_url":"https://api.github.com/users/jesseract/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jesseract/bookstore","description":"","fork":false,"url":"https://api.github.com/repos/jesseract/bookstore","forks_url":"https://api.github.com/repos/jesseract/bookstore/forks","keys_url":"https://api.github.com/repos/jesseract/bookstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jesseract/bookstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jesseract/bookstore/teams","hooks_url":"https://api.github.com/repos/jesseract/bookstore/hooks","issue_events_url":"https://api.github.com/repos/jesseract/bookstore/issues/events{/number}","events_url":"https://api.github.com/repos/jesseract/bookstore/events","assignees_url":"https://api.github.com/repos/jesseract/bookstore/assignees{/user}","branches_url":"https://api.github.com/repos/jesseract/bookstore/branches{/branch}","tags_url":"https://api.github.com/repos/jesseract/bookstore/tags","blobs_url":"https://api.github.com/repos/jesseract/bookstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jesseract/bookstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jesseract/bookstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/jesseract/bookstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jesseract/bookstore/statuses/{sha}","languages_url":"https://api.github.com/repos/jesseract/bookstore/languages","stargazers_url":"https://api.github.com/repos/jesseract/bookstore/stargazers","contributors_url":"https://api.github.com/repos/jesseract/bookstore/contributors","subscribers_url":"https://api.github.com/repos/jesseract/bookstore/subscribers","subscription_url":"https://api.github.com/repos/jesseract/bookstore/subscription","commits_url":"https://api.github.com/repos/jesseract/bookstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/jesseract/bookstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/jesseract/bookstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/jesseract/bookstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/jesseract/bookstore/contents/{+path}","compare_url":"https://api.github.com/repos/jesseract/bookstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jesseract/bookstore/merges","archive_url":"https://api.github.com/repos/jesseract/bookstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jesseract/bookstore/downloads","issues_url":"https://api.github.com/repos/jesseract/bookstore/issues{/number}","pulls_url":"https://api.github.com/repos/jesseract/bookstore/pulls{/number}","milestones_url":"https://api.github.com/repos/jesseract/bookstore/milestones{/number}","notifications_url":"https://api.github.com/repos/jesseract/bookstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jesseract/bookstore/labels{/name}","releases_url":"https://api.github.com/repos/jesseract/bookstore/releases{/id}","created_at":"2015-09-28T16:59:44Z","updated_at":"2015-09-28T17:19:35Z","pushed_at":"2015-10-06T20:44:15Z","git_url":"git://github.com/jesseract/bookstore.git","ssh_url":"git@github.com:jesseract/bookstore.git","clone_url":"https://github.com/jesseract/bookstore.git","svn_url":"https://github.com/jesseract/bookstore","homepage":null,"size":244,"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/jesseract/bookstore/pulls/2"},"html":{"href":"https://github.com/jesseract/bookstore/pull/2"},"issue":{"href":"https://api.github.com/repos/jesseract/bookstore/issues/2"},"comments":{"href":"https://api.github.com/repos/jesseract/bookstore/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/jesseract/bookstore/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/jesseract/bookstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jesseract/bookstore/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/jesseract/bookstore/statuses/c4365e20d69eccba7868aff7d984602712655440"}}}}