From 5eab020d3db17c08050e751c155f266dd0a87c4d Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 11 Oct 2017 23:00:37 -0400 Subject: Fixed Gengar not being added to database The data that was used to generate the database seed was accurate to generation VII, and thus listed Gengar as having the ability Cursed Body, since it was changed to have that ability in gen VII. This caused a validation to fail, and Gengar would not be added to the database. --- db/seeds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/seeds.rb b/db/seeds.rb index f010fdc..6097422 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -169,7 +169,7 @@ module Pokeviewer Species.create(id: 91, name: "Cloyster", type_1: :water, type_2: :ice, ability_1_id: 75, ability_2_id: 92) Species.create(id: 92, name: "Gastly", type_1: :ghost, type_2: :poison, ability_1_id: 26) Species.create(id: 93, name: "Haunter", type_1: :ghost, type_2: :poison, ability_1_id: 26) - Species.create(id: 94, name: "Gengar", type_1: :ghost, type_2: :poison, ability_1_id: 130) + Species.create(id: 94, name: "Gengar", type_1: :ghost, type_2: :poison, ability_1_id: 26) Species.create(id: 95, name: "Onix", type_1: :rock, type_2: :ground, ability_1_id: 69, ability_2_id: 5) Species.create(id: 96, name: "Drowzee", type_1: :psychic, ability_1_id: 15, ability_2_id: 108) Species.create(id: 97, name: "Hypno", type_1: :psychic, ability_1_id: 15, ability_2_id: 108) -- cgit 1.4.1