{"action":"created","comment":{"url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/pulls/comments/34655135","id":34655135,"diff_hunk":"@@ -0,0 +1,30 @@\n+table class=\"table\"\n+  tr class=\"active\"\n+    th Name\n+    th Surname\n+    th Books\n+    th Options\n+\n+  - @author.each do |author|\n+    tr\n+      td = author.name\n+      td = author.surname\n+\n+      td\n+        - author.books.each do |book|\n+          ul\n+            li = link_to \"#{book.title}\", book_path(book)\n+\n+      td colspan=\"3\"\n+\n+        = link_to 'Edit', edit_author_path(author), class: 'btn btn-default'\n+\n+        = link_to 'Show', author_path(author), class: 'btn btn-default'\n+\n+        = link_to 'Delete', author_path(author),\n+           method: :delete,\n+           data: { confirm: 'Are you sure you want to delete?' },","path":"app/views/authors/index.html.slim","position":26,"original_position":26,"commit_id":"ae062dfe224c3c00857bed760965ce666f80b9ab","original_commit_id":"ae062dfe224c3c00857bed760965ce666f80b9ab","user":{"login":"spidzio","id":2708775,"avatar_url":"https://avatars.githubusercontent.com/u/2708775?v=3","gravatar_id":"","url":"https://api.github.com/users/spidzio","html_url":"https://github.com/spidzio","followers_url":"https://api.github.com/users/spidzio/followers","following_url":"https://api.github.com/users/spidzio/following{/other_user}","gists_url":"https://api.github.com/users/spidzio/gists{/gist_id}","starred_url":"https://api.github.com/users/spidzio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spidzio/subscriptions","organizations_url":"https://api.github.com/users/spidzio/orgs","repos_url":"https://api.github.com/users/spidzio/repos","events_url":"https://api.github.com/users/spidzio/events{/privacy}","received_events_url":"https://api.github.com/users/spidzio/received_events","type":"User","site_admin":false},"body":"nice","created_at":"2015-07-15T08:11:09Z","updated_at":"2015-07-15T08:11:09Z","html_url":"https://github.com/dropsrobs/9_10_11_12_scripts/pull/1#discussion_r34655135","pull_request_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/pulls/comments/34655135"},"html":{"href":"https://github.com/dropsrobs/9_10_11_12_scripts/pull/1#discussion_r34655135"},"pull_request":{"href":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/pulls/1","id":39554128,"html_url":"https://github.com/dropsrobs/9_10_11_12_scripts/pull/1","diff_url":"https://github.com/dropsrobs/9_10_11_12_scripts/pull/1.diff","patch_url":"https://github.com/dropsrobs/9_10_11_12_scripts/pull/1.patch","issue_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/issues/1","number":1,"state":"open","locked":false,"title":"Feature/author book relations","user":{"login":"dropsrobs","id":12935944,"avatar_url":"https://avatars.githubusercontent.com/u/12935944?v=3","gravatar_id":"","url":"https://api.github.com/users/dropsrobs","html_url":"https://github.com/dropsrobs","followers_url":"https://api.github.com/users/dropsrobs/followers","following_url":"https://api.github.com/users/dropsrobs/following{/other_user}","gists_url":"https://api.github.com/users/dropsrobs/gists{/gist_id}","starred_url":"https://api.github.com/users/dropsrobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dropsrobs/subscriptions","organizations_url":"https://api.github.com/users/dropsrobs/orgs","repos_url":"https://api.github.com/users/dropsrobs/repos","events_url":"https://api.github.com/users/dropsrobs/events{/privacy}","received_events_url":"https://api.github.com/users/dropsrobs/received_events","type":"User","site_admin":false},"body":"App managing author and book models.","created_at":"2015-07-09T07:14:24Z","updated_at":"2015-07-15T08:11:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"68d830369c606d322c06b6679f2a828e2801b3af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/pulls/1/commits","review_comments_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/pulls/1/comments","review_comment_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/issues/1/comments","statuses_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/statuses/ae062dfe224c3c00857bed760965ce666f80b9ab","head":{"label":"dropsrobs:feature/author_book_relations","ref":"feature/author_book_relations","sha":"ae062dfe224c3c00857bed760965ce666f80b9ab","user":{"login":"dropsrobs","id":12935944,"avatar_url":"https://avatars.githubusercontent.com/u/12935944?v=3","gravatar_id":"","url":"https://api.github.com/users/dropsrobs","html_url":"https://github.com/dropsrobs","followers_url":"https://api.github.com/users/dropsrobs/followers","following_url":"https://api.github.com/users/dropsrobs/following{/other_user}","gists_url":"https://api.github.com/users/dropsrobs/gists{/gist_id}","starred_url":"https://api.github.com/users/dropsrobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dropsrobs/subscriptions","organizations_url":"https://api.github.com/users/dropsrobs/orgs","repos_url":"https://api.github.com/users/dropsrobs/repos","events_url":"https://api.github.com/users/dropsrobs/events{/privacy}","received_events_url":"https://api.github.com/users/dropsrobs/received_events","type":"User","site_admin":false},"repo":{"id":37593213,"name":"9_10_11_12_scripts","full_name":"dropsrobs/9_10_11_12_scripts","owner":{"login":"dropsrobs","id":12935944,"avatar_url":"https://avatars.githubusercontent.com/u/12935944?v=3","gravatar_id":"","url":"https://api.github.com/users/dropsrobs","html_url":"https://github.com/dropsrobs","followers_url":"https://api.github.com/users/dropsrobs/followers","following_url":"https://api.github.com/users/dropsrobs/following{/other_user}","gists_url":"https://api.github.com/users/dropsrobs/gists{/gist_id}","starred_url":"https://api.github.com/users/dropsrobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dropsrobs/subscriptions","organizations_url":"https://api.github.com/users/dropsrobs/orgs","repos_url":"https://api.github.com/users/dropsrobs/repos","events_url":"https://api.github.com/users/dropsrobs/events{/privacy}","received_events_url":"https://api.github.com/users/dropsrobs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dropsrobs/9_10_11_12_scripts","description":"","fork":false,"url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts","forks_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/forks","keys_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/teams","hooks_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/hooks","issue_events_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/issues/events{/number}","events_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/events","assignees_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/assignees{/user}","branches_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/branches{/branch}","tags_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/tags","blobs_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/languages","stargazers_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/stargazers","contributors_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/contributors","subscribers_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/subscribers","subscription_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/subscription","commits_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/contents/{+path}","compare_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/merges","archive_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/downloads","issues_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/issues{/number}","pulls_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/labels{/name}","releases_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/releases{/id}","created_at":"2015-06-17T12:21:29Z","updated_at":"2015-06-17T12:21:29Z","pushed_at":"2015-07-14T09:29:44Z","git_url":"git://github.com/dropsrobs/9_10_11_12_scripts.git","ssh_url":"git@github.com:dropsrobs/9_10_11_12_scripts.git","clone_url":"https://github.com/dropsrobs/9_10_11_12_scripts.git","svn_url":"https://github.com/dropsrobs/9_10_11_12_scripts","homepage":null,"size":612,"stargazers_count":0,"watchers_count":0,"language":null,"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":"dropsrobs:master","ref":"master","sha":"f529766c25ebf35366562e0fb21b2b984d1bcfaf","user":{"login":"dropsrobs","id":12935944,"avatar_url":"https://avatars.githubusercontent.com/u/12935944?v=3","gravatar_id":"","url":"https://api.github.com/users/dropsrobs","html_url":"https://github.com/dropsrobs","followers_url":"https://api.github.com/users/dropsrobs/followers","following_url":"https://api.github.com/users/dropsrobs/following{/other_user}","gists_url":"https://api.github.com/users/dropsrobs/gists{/gist_id}","starred_url":"https://api.github.com/users/dropsrobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dropsrobs/subscriptions","organizations_url":"https://api.github.com/users/dropsrobs/orgs","repos_url":"https://api.github.com/users/dropsrobs/repos","events_url":"https://api.github.com/users/dropsrobs/events{/privacy}","received_events_url":"https://api.github.com/users/dropsrobs/received_events","type":"User","site_admin":false},"repo":{"id":37593213,"name":"9_10_11_12_scripts","full_name":"dropsrobs/9_10_11_12_scripts","owner":{"login":"dropsrobs","id":12935944,"avatar_url":"https://avatars.githubusercontent.com/u/12935944?v=3","gravatar_id":"","url":"https://api.github.com/users/dropsrobs","html_url":"https://github.com/dropsrobs","followers_url":"https://api.github.com/users/dropsrobs/followers","following_url":"https://api.github.com/users/dropsrobs/following{/other_user}","gists_url":"https://api.github.com/users/dropsrobs/gists{/gist_id}","starred_url":"https://api.github.com/users/dropsrobs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dropsrobs/subscriptions","organizations_url":"https://api.github.com/users/dropsrobs/orgs","repos_url":"https://api.github.com/users/dropsrobs/repos","events_url":"https://api.github.com/users/dropsrobs/events{/privacy}","received_events_url":"https://api.github.com/users/dropsrobs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dropsrobs/9_10_11_12_scripts","description":"","fork":false,"url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts","forks_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/forks","keys_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/teams","hooks_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/hooks","issue_events_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/issues/events{/number}","events_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/events","assignees_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/assignees{/user}","branches_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/branches{/branch}","tags_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/tags","blobs_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/languages","stargazers_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/stargazers","contributors_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/contributors","subscribers_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/subscribers","subscription_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/subscription","commits_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/contents/{+path}","compare_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/merges","archive_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/downloads","issues_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/issues{/number}","pulls_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/labels{/name}","releases_url":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/releases{/id}","created_at":"2015-06-17T12:21:29Z","updated_at":"2015-06-17T12:21:29Z","pushed_at":"2015-07-14T09:29:44Z","git_url":"git://github.com/dropsrobs/9_10_11_12_scripts.git","ssh_url":"git@github.com:dropsrobs/9_10_11_12_scripts.git","clone_url":"https://github.com/dropsrobs/9_10_11_12_scripts.git","svn_url":"https://github.com/dropsrobs/9_10_11_12_scripts","homepage":null,"size":612,"stargazers_count":0,"watchers_count":0,"language":null,"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/dropsrobs/9_10_11_12_scripts/pulls/1"},"html":{"href":"https://github.com/dropsrobs/9_10_11_12_scripts/pull/1"},"issue":{"href":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/issues/1"},"comments":{"href":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/dropsrobs/9_10_11_12_scripts/statuses/ae062dfe224c3c00857bed760965ce666f80b9ab"}}}}