{"action":"created","comment":{"url":"https://api.github.com/repos/nivla/book_recommendation_app/pulls/comments/45560350","id":45560350,"diff_hunk":"@@ -1,7 +1,41 @@\n-# This file should contain all the record creation needed to seed the database with its default values.\n-# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).\n-#\n-# Examples:\n-#\n-#   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])\n-#   Mayor.create(name: 'Emanuel', city: cities.first)\n+Author.destroy_all\n+Author.create!([{\n+  full_name: \"Susan Cooper\",\n+  born: \"in Burnham, Buckinghamshire, The United Kingdom \",\n+  picture: \"https://d.gr-assets.com/authors/1379606336p5/7308.jpg\",\n+  bio: \"Susan Cooper was born in 1935, and grew up in England's Buckinghamshire, an area that was green countryside then but has since become part of Greater London. As a child, she loved to read, as did her younger brother,who also became a writer. After attending Oxford, where she became the first woman to ever edit that university's newspaper, Cooper worked as a reporter and feature writer for London's Sunday Times; her first boss was James Bond creator Ian Fleming.\",\n+  gender: \"female\"\n+}, {\n+  full_name: \"Stephen King\",\n+  born: \"in Portland, Maine, The United States\",\n+  picture: \"https://d.gr-assets.com/authors/1362814142p5/3389.jpg\",\n+  bio: \"Stephen Edwin King was born the second son of Donald and Nellie Ruth Pillsbury King. After his father left them when Stephen was two, he and his older brother, David, were raised by his mother.\",\n+  gender: \"male\"\n+}])\n+\n+Genre.destroy_all\n+Genre.create!([\n+  { name: \"Horror\" },\n+  { name: \"Fantasy\" }\n+])\n+\n+Book.destroy_all\n+Book.create!([{\n+  title: \"Greenwitch\",","path":"db/seeds.rb","position":31,"original_position":31,"commit_id":"539666b1ee765670059506506f1a0fbbb027699a","original_commit_id":"539666b1ee765670059506506f1a0fbbb027699a","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Use 2 spaces for indentation in a hash, relative to the first position after the preceding left parenthesis.","created_at":"2015-11-22T15:50:39Z","updated_at":"2015-11-22T15:50:39Z","html_url":"https://github.com/nivla/book_recommendation_app/pull/6#discussion_r45560350","pull_request_url":"https://api.github.com/repos/nivla/book_recommendation_app/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/nivla/book_recommendation_app/pulls/comments/45560350"},"html":{"href":"https://github.com/nivla/book_recommendation_app/pull/6#discussion_r45560350"},"pull_request":{"href":"https://api.github.com/repos/nivla/book_recommendation_app/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/nivla/book_recommendation_app/pulls/6","id":50861467,"html_url":"https://github.com/nivla/book_recommendation_app/pull/6","diff_url":"https://github.com/nivla/book_recommendation_app/pull/6.diff","patch_url":"https://github.com/nivla/book_recommendation_app/pull/6.patch","issue_url":"https://api.github.com/repos/nivla/book_recommendation_app/issues/6","number":6,"state":"open","locked":false,"title":"Authors page","user":{"login":"nivla","id":2448098,"avatar_url":"https://avatars.githubusercontent.com/u/2448098?v=3","gravatar_id":"","url":"https://api.github.com/users/nivla","html_url":"https://github.com/nivla","followers_url":"https://api.github.com/users/nivla/followers","following_url":"https://api.github.com/users/nivla/following{/other_user}","gists_url":"https://api.github.com/users/nivla/gists{/gist_id}","starred_url":"https://api.github.com/users/nivla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nivla/subscriptions","organizations_url":"https://api.github.com/users/nivla/orgs","repos_url":"https://api.github.com/users/nivla/repos","events_url":"https://api.github.com/users/nivla/events{/privacy}","received_events_url":"https://api.github.com/users/nivla/received_events","type":"User","site_admin":false},"body":"Because:\r\nUsers want see the authors and his books.\r\nThis commit create a view page for see the authors and his popular books.\r\nReferences:\r\nIssue #3 ","created_at":"2015-11-16T20:30:36Z","updated_at":"2015-11-22T15:50:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4408a6e98adf8156719f29f4c828d4bd552ca71","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nivla/book_recommendation_app/pulls/6/commits","review_comments_url":"https://api.github.com/repos/nivla/book_recommendation_app/pulls/6/comments","review_comment_url":"https://api.github.com/repos/nivla/book_recommendation_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nivla/book_recommendation_app/issues/6/comments","statuses_url":"https://api.github.com/repos/nivla/book_recommendation_app/statuses/539666b1ee765670059506506f1a0fbbb027699a","head":{"label":"nivla:authors_page","ref":"authors_page","sha":"539666b1ee765670059506506f1a0fbbb027699a","user":{"login":"nivla","id":2448098,"avatar_url":"https://avatars.githubusercontent.com/u/2448098?v=3","gravatar_id":"","url":"https://api.github.com/users/nivla","html_url":"https://github.com/nivla","followers_url":"https://api.github.com/users/nivla/followers","following_url":"https://api.github.com/users/nivla/following{/other_user}","gists_url":"https://api.github.com/users/nivla/gists{/gist_id}","starred_url":"https://api.github.com/users/nivla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nivla/subscriptions","organizations_url":"https://api.github.com/users/nivla/orgs","repos_url":"https://api.github.com/users/nivla/repos","events_url":"https://api.github.com/users/nivla/events{/privacy}","received_events_url":"https://api.github.com/users/nivla/received_events","type":"User","site_admin":false},"repo":{"id":45580635,"name":"book_recommendation_app","full_name":"nivla/book_recommendation_app","owner":{"login":"nivla","id":2448098,"avatar_url":"https://avatars.githubusercontent.com/u/2448098?v=3","gravatar_id":"","url":"https://api.github.com/users/nivla","html_url":"https://github.com/nivla","followers_url":"https://api.github.com/users/nivla/followers","following_url":"https://api.github.com/users/nivla/following{/other_user}","gists_url":"https://api.github.com/users/nivla/gists{/gist_id}","starred_url":"https://api.github.com/users/nivla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nivla/subscriptions","organizations_url":"https://api.github.com/users/nivla/orgs","repos_url":"https://api.github.com/users/nivla/repos","events_url":"https://api.github.com/users/nivla/events{/privacy}","received_events_url":"https://api.github.com/users/nivla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nivla/book_recommendation_app","description":"Upcase Project: Book Recommendation Ruby on Rails Application","fork":false,"url":"https://api.github.com/repos/nivla/book_recommendation_app","forks_url":"https://api.github.com/repos/nivla/book_recommendation_app/forks","keys_url":"https://api.github.com/repos/nivla/book_recommendation_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nivla/book_recommendation_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nivla/book_recommendation_app/teams","hooks_url":"https://api.github.com/repos/nivla/book_recommendation_app/hooks","issue_events_url":"https://api.github.com/repos/nivla/book_recommendation_app/issues/events{/number}","events_url":"https://api.github.com/repos/nivla/book_recommendation_app/events","assignees_url":"https://api.github.com/repos/nivla/book_recommendation_app/assignees{/user}","branches_url":"https://api.github.com/repos/nivla/book_recommendation_app/branches{/branch}","tags_url":"https://api.github.com/repos/nivla/book_recommendation_app/tags","blobs_url":"https://api.github.com/repos/nivla/book_recommendation_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nivla/book_recommendation_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nivla/book_recommendation_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/nivla/book_recommendation_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nivla/book_recommendation_app/statuses/{sha}","languages_url":"https://api.github.com/repos/nivla/book_recommendation_app/languages","stargazers_url":"https://api.github.com/repos/nivla/book_recommendation_app/stargazers","contributors_url":"https://api.github.com/repos/nivla/book_recommendation_app/contributors","subscribers_url":"https://api.github.com/repos/nivla/book_recommendation_app/subscribers","subscription_url":"https://api.github.com/repos/nivla/book_recommendation_app/subscription","commits_url":"https://api.github.com/repos/nivla/book_recommendation_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/nivla/book_recommendation_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/nivla/book_recommendation_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/nivla/book_recommendation_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/nivla/book_recommendation_app/contents/{+path}","compare_url":"https://api.github.com/repos/nivla/book_recommendation_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nivla/book_recommendation_app/merges","archive_url":"https://api.github.com/repos/nivla/book_recommendation_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nivla/book_recommendation_app/downloads","issues_url":"https://api.github.com/repos/nivla/book_recommendation_app/issues{/number}","pulls_url":"https://api.github.com/repos/nivla/book_recommendation_app/pulls{/number}","milestones_url":"https://api.github.com/repos/nivla/book_recommendation_app/milestones{/number}","notifications_url":"https://api.github.com/repos/nivla/book_recommendation_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nivla/book_recommendation_app/labels{/name}","releases_url":"https://api.github.com/repos/nivla/book_recommendation_app/releases{/id}","created_at":"2015-11-05T02:03:27Z","updated_at":"2015-11-05T02:47:57Z","pushed_at":"2015-11-22T15:50:30Z","git_url":"git://github.com/nivla/book_recommendation_app.git","ssh_url":"git@github.com:nivla/book_recommendation_app.git","clone_url":"https://github.com/nivla/book_recommendation_app.git","svn_url":"https://github.com/nivla/book_recommendation_app","homepage":null,"size":43,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"base":{"label":"nivla:master","ref":"master","sha":"ab1a85404123682751cfc095b51185635d3f57ad","user":{"login":"nivla","id":2448098,"avatar_url":"https://avatars.githubusercontent.com/u/2448098?v=3","gravatar_id":"","url":"https://api.github.com/users/nivla","html_url":"https://github.com/nivla","followers_url":"https://api.github.com/users/nivla/followers","following_url":"https://api.github.com/users/nivla/following{/other_user}","gists_url":"https://api.github.com/users/nivla/gists{/gist_id}","starred_url":"https://api.github.com/users/nivla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nivla/subscriptions","organizations_url":"https://api.github.com/users/nivla/orgs","repos_url":"https://api.github.com/users/nivla/repos","events_url":"https://api.github.com/users/nivla/events{/privacy}","received_events_url":"https://api.github.com/users/nivla/received_events","type":"User","site_admin":false},"repo":{"id":45580635,"name":"book_recommendation_app","full_name":"nivla/book_recommendation_app","owner":{"login":"nivla","id":2448098,"avatar_url":"https://avatars.githubusercontent.com/u/2448098?v=3","gravatar_id":"","url":"https://api.github.com/users/nivla","html_url":"https://github.com/nivla","followers_url":"https://api.github.com/users/nivla/followers","following_url":"https://api.github.com/users/nivla/following{/other_user}","gists_url":"https://api.github.com/users/nivla/gists{/gist_id}","starred_url":"https://api.github.com/users/nivla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nivla/subscriptions","organizations_url":"https://api.github.com/users/nivla/orgs","repos_url":"https://api.github.com/users/nivla/repos","events_url":"https://api.github.com/users/nivla/events{/privacy}","received_events_url":"https://api.github.com/users/nivla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nivla/book_recommendation_app","description":"Upcase Project: Book Recommendation Ruby on Rails Application","fork":false,"url":"https://api.github.com/repos/nivla/book_recommendation_app","forks_url":"https://api.github.com/repos/nivla/book_recommendation_app/forks","keys_url":"https://api.github.com/repos/nivla/book_recommendation_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nivla/book_recommendation_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nivla/book_recommendation_app/teams","hooks_url":"https://api.github.com/repos/nivla/book_recommendation_app/hooks","issue_events_url":"https://api.github.com/repos/nivla/book_recommendation_app/issues/events{/number}","events_url":"https://api.github.com/repos/nivla/book_recommendation_app/events","assignees_url":"https://api.github.com/repos/nivla/book_recommendation_app/assignees{/user}","branches_url":"https://api.github.com/repos/nivla/book_recommendation_app/branches{/branch}","tags_url":"https://api.github.com/repos/nivla/book_recommendation_app/tags","blobs_url":"https://api.github.com/repos/nivla/book_recommendation_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nivla/book_recommendation_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nivla/book_recommendation_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/nivla/book_recommendation_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nivla/book_recommendation_app/statuses/{sha}","languages_url":"https://api.github.com/repos/nivla/book_recommendation_app/languages","stargazers_url":"https://api.github.com/repos/nivla/book_recommendation_app/stargazers","contributors_url":"https://api.github.com/repos/nivla/book_recommendation_app/contributors","subscribers_url":"https://api.github.com/repos/nivla/book_recommendation_app/subscribers","subscription_url":"https://api.github.com/repos/nivla/book_recommendation_app/subscription","commits_url":"https://api.github.com/repos/nivla/book_recommendation_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/nivla/book_recommendation_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/nivla/book_recommendation_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/nivla/book_recommendation_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/nivla/book_recommendation_app/contents/{+path}","compare_url":"https://api.github.com/repos/nivla/book_recommendation_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nivla/book_recommendation_app/merges","archive_url":"https://api.github.com/repos/nivla/book_recommendation_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nivla/book_recommendation_app/downloads","issues_url":"https://api.github.com/repos/nivla/book_recommendation_app/issues{/number}","pulls_url":"https://api.github.com/repos/nivla/book_recommendation_app/pulls{/number}","milestones_url":"https://api.github.com/repos/nivla/book_recommendation_app/milestones{/number}","notifications_url":"https://api.github.com/repos/nivla/book_recommendation_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nivla/book_recommendation_app/labels{/name}","releases_url":"https://api.github.com/repos/nivla/book_recommendation_app/releases{/id}","created_at":"2015-11-05T02:03:27Z","updated_at":"2015-11-05T02:47:57Z","pushed_at":"2015-11-22T15:50:30Z","git_url":"git://github.com/nivla/book_recommendation_app.git","ssh_url":"git@github.com:nivla/book_recommendation_app.git","clone_url":"https://github.com/nivla/book_recommendation_app.git","svn_url":"https://github.com/nivla/book_recommendation_app","homepage":null,"size":43,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nivla/book_recommendation_app/pulls/6"},"html":{"href":"https://github.com/nivla/book_recommendation_app/pull/6"},"issue":{"href":"https://api.github.com/repos/nivla/book_recommendation_app/issues/6"},"comments":{"href":"https://api.github.com/repos/nivla/book_recommendation_app/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/nivla/book_recommendation_app/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/nivla/book_recommendation_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nivla/book_recommendation_app/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/nivla/book_recommendation_app/statuses/539666b1ee765670059506506f1a0fbbb027699a"}}}}