{"action":"created","comment":{"url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/comments/27979741","id":27979741,"diff_hunk":"@@ -1,35 +1,105 @@\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+\n [\n-  'Scotch Ale',\n-  'Bock',\n+  'Altbier',\n+  'Amber/Red Ale',\n   'Barleywine',\n+  'Baltic Porter',\n+  'Belgian Dubbel',\n+  'Belgian Tripel',\n+  'Belgian Quad',\n+  'Belgian Strong Ale',\n+  'Berliner Weisse',\n+  'Bière de Garde',\n+  'Black IPA',\n   'Blonde Ale',\n-  'Light Beer',\n-  'Quadrupel Ale',\n-  'Dubbel Ale',\n+  'Bock',\n+  'Brown Ale',\n+  'Cream Ale',\n+  'Doppelbock',\n+  'Double IPA',\n+  'Eisbock',\n+  'Flanders Red Ale',\n+  'Fruit Beer',\n+  'Golden Ale',\n   'Gose',\n+  'Gueuze',\n   'Hefeweizen',\n-  'Double IPA',\n   'Imperial Stout',\n-  'Brown Ale',\n-  'Sour',\n-  'Saison/Farmhouse Ale',\n-  'Fruit Beer',\n+  'IPA',\n+  'IPL',\n+  'Kölsch',\n+  'Lager',\n+  'Light Lager',\n+  'Lambic',\n+  'Oktoberfest/Märzen',\n+  'Old Ale',\n+  'Oud bruin',\n   'Pale Ale',\n   'Pilsner',\n-  'Amber Ale',\n-  'Red Ale',\n-  'Wheat',\n   'Porter',\n-  'IPA',\n-  'Lager',\n-  'Stout'\n+  'Pumpkin',\n+  'Radler',\n+  'Saison/Farmhouse Ale',\n+  'Scotch Ale/Wee Heavy',\n+  'Sour Ale',\n+  'Stout',\n+  'Triple IPA',\n+  'Weizenbock',\n+  'Wheat Beer',\n+  'White IPA',\n+  'Wild Ale',\n+  'Witbier'\n ].each do |style_name|\n   Style.find_or_create_by!(name: style_name)\n end\n+\n+user = User.where(email: \"joeschmo@gmail.com\")\n+if user.blank?\n+  user = User.new(email: \"joeschmo@gmail.com\", password: \"12345678\", password_confirmation: \"12345678\")\n+  user.save\n+end\n+\n+Brewery.find_or_create_by!(name: \"Bayerische Staatsbrauerei Weihenstephan\", year: 1040, city: \"Freising\", country: \"Germany\", description: \"The Bavarian State Brewery Weihenstephan, founded in 1040, is the oldest existing brewery in the world. As directed by operation of Bavaria it is run as a modern company, which brews beers of the highest quality and successfully sells worldwide in over 40 countries. The unique combination of tradition and science gives the brewer the quality standard 'premium bavaricum' and national and international awards for their 'Weihenstephan beers.'\")\n+Brewery.find_or_create_by!(name: \"Bear Republic Brewing Company\", year: 1995, city: \"Healdsburg\", state: \"CA\", country: \"United States\", description: \"Bear Republic was established by the Norgrove family in 1995, with Richard G. Norgrove as brewmaster. The name is said to refer to California's 1846 Bear Flag Revolt. In 2006, Bear was named Small Brewing Company and Small Brewing Company Brewer of the Year at the Great American Beer Festival. Bear's best-selling product is Racer 5, an India Pale Ale which accounted for about three-quarters of the company's 2009 sales.\")\n+Brewery.find_or_create_by!(name: \"Boulevard Brewing Company\", year: 1989, city: \"Kansas City\", state: \"MO\", country: \"United States\", description: \"Boulevard began in 1988 when founder John McDonald started construction of the brewery in a turn-of-the-century brick building on Kansas City’s historic Southwest Boulevard. A vintage Bavarian brewhouse was installed with used equipment from a closed brewery in Bavaria, Germany, and the first batches of beer were produced in the fall of 1989. Based on the historic example set by the local and regional breweries that were once common throughout the United States prior to Prohibition, the brewery has a focus on providing locally-brewed beer for the Kansas City region.\")\n+Brewery.find_or_create_by!(name: \"Brasserie d'Achouffe\", year: 1982, city: \"Achouffe\", country: \"Belgium\", description: \"Towards the end of the 1970s, Pierre Gobron and Christian Bauweraerts decided to create their own beer in their own brewery. With initially only a small amount of money available to them, they started out on what the fans of the brewery call the ‘Chouffe story’. At the beginning its founders thought of it as a hobby, but the brewery developed at such a rate that, one by one, they decided to devote themselves to the adventure full-time.\")","path":"db/seeds.rb","position":88,"original_position":88,"commit_id":"a2e55281b7606060b79893951995618122de8d13","original_commit_id":"a2e55281b7606060b79893951995618122de8d13","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":"Line is too long. [562/80]","created_at":"2015-04-08T15:18:30Z","updated_at":"2015-04-08T15:18:30Z","html_url":"https://github.com/davidrf/Beer-Reviews/pull/22#discussion_r27979741","pull_request_url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/comments/27979741"},"html":{"href":"https://github.com/davidrf/Beer-Reviews/pull/22#discussion_r27979741"},"pull_request":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/22","id":32870584,"html_url":"https://github.com/davidrf/Beer-Reviews/pull/22","diff_url":"https://github.com/davidrf/Beer-Reviews/pull/22.diff","patch_url":"https://github.com/davidrf/Beer-Reviews/pull/22.patch","issue_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/22","number":22,"state":"open","locked":false,"title":"ATH - Breweries, Seed File, Beer Images","user":{"login":"davidrf","id":9678182,"avatar_url":"https://avatars.githubusercontent.com/u/9678182?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrf","html_url":"https://github.com/davidrf","followers_url":"https://api.github.com/users/davidrf/followers","following_url":"https://api.github.com/users/davidrf/following{/other_user}","gists_url":"https://api.github.com/users/davidrf/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrf/subscriptions","organizations_url":"https://api.github.com/users/davidrf/orgs","repos_url":"https://api.github.com/users/davidrf/repos","events_url":"https://api.github.com/users/davidrf/events{/privacy}","received_events_url":"https://api.github.com/users/davidrf/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-08T15:18:23Z","updated_at":"2015-04-08T15:18:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35c5fc8fc9cb5c5de7e23771faea6d089749a0b3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/22/commits","review_comments_url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/22/comments","review_comment_url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/comments{/number}","comments_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/22/comments","statuses_url":"https://api.github.com/repos/davidrf/Beer-Reviews/statuses/a2e55281b7606060b79893951995618122de8d13","head":{"label":"davidrf:ath-drf-styling","ref":"ath-drf-styling","sha":"a2e55281b7606060b79893951995618122de8d13","user":{"login":"davidrf","id":9678182,"avatar_url":"https://avatars.githubusercontent.com/u/9678182?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrf","html_url":"https://github.com/davidrf","followers_url":"https://api.github.com/users/davidrf/followers","following_url":"https://api.github.com/users/davidrf/following{/other_user}","gists_url":"https://api.github.com/users/davidrf/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrf/subscriptions","organizations_url":"https://api.github.com/users/davidrf/orgs","repos_url":"https://api.github.com/users/davidrf/repos","events_url":"https://api.github.com/users/davidrf/events{/privacy}","received_events_url":"https://api.github.com/users/davidrf/received_events","type":"User","site_admin":false},"repo":{"id":33140253,"name":"Beer-Reviews","full_name":"davidrf/Beer-Reviews","owner":{"login":"davidrf","id":9678182,"avatar_url":"https://avatars.githubusercontent.com/u/9678182?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrf","html_url":"https://github.com/davidrf","followers_url":"https://api.github.com/users/davidrf/followers","following_url":"https://api.github.com/users/davidrf/following{/other_user}","gists_url":"https://api.github.com/users/davidrf/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrf/subscriptions","organizations_url":"https://api.github.com/users/davidrf/orgs","repos_url":"https://api.github.com/users/davidrf/repos","events_url":"https://api.github.com/users/davidrf/events{/privacy}","received_events_url":"https://api.github.com/users/davidrf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidrf/Beer-Reviews","description":"","fork":false,"url":"https://api.github.com/repos/davidrf/Beer-Reviews","forks_url":"https://api.github.com/repos/davidrf/Beer-Reviews/forks","keys_url":"https://api.github.com/repos/davidrf/Beer-Reviews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidrf/Beer-Reviews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidrf/Beer-Reviews/teams","hooks_url":"https://api.github.com/repos/davidrf/Beer-Reviews/hooks","issue_events_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/events{/number}","events_url":"https://api.github.com/repos/davidrf/Beer-Reviews/events","assignees_url":"https://api.github.com/repos/davidrf/Beer-Reviews/assignees{/user}","branches_url":"https://api.github.com/repos/davidrf/Beer-Reviews/branches{/branch}","tags_url":"https://api.github.com/repos/davidrf/Beer-Reviews/tags","blobs_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidrf/Beer-Reviews/statuses/{sha}","languages_url":"https://api.github.com/repos/davidrf/Beer-Reviews/languages","stargazers_url":"https://api.github.com/repos/davidrf/Beer-Reviews/stargazers","contributors_url":"https://api.github.com/repos/davidrf/Beer-Reviews/contributors","subscribers_url":"https://api.github.com/repos/davidrf/Beer-Reviews/subscribers","subscription_url":"https://api.github.com/repos/davidrf/Beer-Reviews/subscription","commits_url":"https://api.github.com/repos/davidrf/Beer-Reviews/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidrf/Beer-Reviews/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidrf/Beer-Reviews/contents/{+path}","compare_url":"https://api.github.com/repos/davidrf/Beer-Reviews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidrf/Beer-Reviews/merges","archive_url":"https://api.github.com/repos/davidrf/Beer-Reviews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidrf/Beer-Reviews/downloads","issues_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues{/number}","pulls_url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls{/number}","milestones_url":"https://api.github.com/repos/davidrf/Beer-Reviews/milestones{/number}","notifications_url":"https://api.github.com/repos/davidrf/Beer-Reviews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidrf/Beer-Reviews/labels{/name}","releases_url":"https://api.github.com/repos/davidrf/Beer-Reviews/releases{/id}","created_at":"2015-03-30T18:26:08Z","updated_at":"2015-04-07T19:33:24Z","pushed_at":"2015-04-08T15:18:23Z","git_url":"git://github.com/davidrf/Beer-Reviews.git","ssh_url":"git@github.com:davidrf/Beer-Reviews.git","clone_url":"https://github.com/davidrf/Beer-Reviews.git","svn_url":"https://github.com/davidrf/Beer-Reviews","homepage":null,"size":588,"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":"davidrf:master","ref":"master","sha":"636fd756377fbcd0b46df95cacf25afd28eea2c1","user":{"login":"davidrf","id":9678182,"avatar_url":"https://avatars.githubusercontent.com/u/9678182?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrf","html_url":"https://github.com/davidrf","followers_url":"https://api.github.com/users/davidrf/followers","following_url":"https://api.github.com/users/davidrf/following{/other_user}","gists_url":"https://api.github.com/users/davidrf/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrf/subscriptions","organizations_url":"https://api.github.com/users/davidrf/orgs","repos_url":"https://api.github.com/users/davidrf/repos","events_url":"https://api.github.com/users/davidrf/events{/privacy}","received_events_url":"https://api.github.com/users/davidrf/received_events","type":"User","site_admin":false},"repo":{"id":33140253,"name":"Beer-Reviews","full_name":"davidrf/Beer-Reviews","owner":{"login":"davidrf","id":9678182,"avatar_url":"https://avatars.githubusercontent.com/u/9678182?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrf","html_url":"https://github.com/davidrf","followers_url":"https://api.github.com/users/davidrf/followers","following_url":"https://api.github.com/users/davidrf/following{/other_user}","gists_url":"https://api.github.com/users/davidrf/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrf/subscriptions","organizations_url":"https://api.github.com/users/davidrf/orgs","repos_url":"https://api.github.com/users/davidrf/repos","events_url":"https://api.github.com/users/davidrf/events{/privacy}","received_events_url":"https://api.github.com/users/davidrf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidrf/Beer-Reviews","description":"","fork":false,"url":"https://api.github.com/repos/davidrf/Beer-Reviews","forks_url":"https://api.github.com/repos/davidrf/Beer-Reviews/forks","keys_url":"https://api.github.com/repos/davidrf/Beer-Reviews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidrf/Beer-Reviews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidrf/Beer-Reviews/teams","hooks_url":"https://api.github.com/repos/davidrf/Beer-Reviews/hooks","issue_events_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/events{/number}","events_url":"https://api.github.com/repos/davidrf/Beer-Reviews/events","assignees_url":"https://api.github.com/repos/davidrf/Beer-Reviews/assignees{/user}","branches_url":"https://api.github.com/repos/davidrf/Beer-Reviews/branches{/branch}","tags_url":"https://api.github.com/repos/davidrf/Beer-Reviews/tags","blobs_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidrf/Beer-Reviews/statuses/{sha}","languages_url":"https://api.github.com/repos/davidrf/Beer-Reviews/languages","stargazers_url":"https://api.github.com/repos/davidrf/Beer-Reviews/stargazers","contributors_url":"https://api.github.com/repos/davidrf/Beer-Reviews/contributors","subscribers_url":"https://api.github.com/repos/davidrf/Beer-Reviews/subscribers","subscription_url":"https://api.github.com/repos/davidrf/Beer-Reviews/subscription","commits_url":"https://api.github.com/repos/davidrf/Beer-Reviews/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidrf/Beer-Reviews/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidrf/Beer-Reviews/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidrf/Beer-Reviews/contents/{+path}","compare_url":"https://api.github.com/repos/davidrf/Beer-Reviews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidrf/Beer-Reviews/merges","archive_url":"https://api.github.com/repos/davidrf/Beer-Reviews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidrf/Beer-Reviews/downloads","issues_url":"https://api.github.com/repos/davidrf/Beer-Reviews/issues{/number}","pulls_url":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls{/number}","milestones_url":"https://api.github.com/repos/davidrf/Beer-Reviews/milestones{/number}","notifications_url":"https://api.github.com/repos/davidrf/Beer-Reviews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidrf/Beer-Reviews/labels{/name}","releases_url":"https://api.github.com/repos/davidrf/Beer-Reviews/releases{/id}","created_at":"2015-03-30T18:26:08Z","updated_at":"2015-04-07T19:33:24Z","pushed_at":"2015-04-08T15:18:23Z","git_url":"git://github.com/davidrf/Beer-Reviews.git","ssh_url":"git@github.com:davidrf/Beer-Reviews.git","clone_url":"https://github.com/davidrf/Beer-Reviews.git","svn_url":"https://github.com/davidrf/Beer-Reviews","homepage":null,"size":588,"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/davidrf/Beer-Reviews/pulls/22"},"html":{"href":"https://github.com/davidrf/Beer-Reviews/pull/22"},"issue":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/22"},"comments":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/davidrf/Beer-Reviews/statuses/a2e55281b7606060b79893951995618122de8d13"}}}}