about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-10-11 23:00:37 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-10-11 23:00:37 -0400
commit5eab020d3db17c08050e751c155f266dd0a87c4d (patch)
treef7c085a07e25984f36c6e288806a1e30ba01aa7e
parent0f32f526b73ecfd10012c0db9d7c4a4f15251a73 (diff)
downloadpokeviewer-5eab020d3db17c08050e751c155f266dd0a87c4d.tar.gz
pokeviewer-5eab020d3db17c08050e751c155f266dd0a87c4d.tar.bz2
pokeviewer-5eab020d3db17c08050e751c155f266dd0a87c4d.zip
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.
-rw-r--r--db/seeds.rb2
1 files changed, 1 insertions, 1 deletions
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
169 Species.create(id: 91, name: "Cloyster", type_1: :water, type_2: :ice, ability_1_id: 75, ability_2_id: 92) 169 Species.create(id: 91, name: "Cloyster", type_1: :water, type_2: :ice, ability_1_id: 75, ability_2_id: 92)
170 Species.create(id: 92, name: "Gastly", type_1: :ghost, type_2: :poison, ability_1_id: 26) 170 Species.create(id: 92, name: "Gastly", type_1: :ghost, type_2: :poison, ability_1_id: 26)
171 Species.create(id: 93, name: "Haunter", type_1: :ghost, type_2: :poison, ability_1_id: 26) 171 Species.create(id: 93, name: "Haunter", type_1: :ghost, type_2: :poison, ability_1_id: 26)
172 Species.create(id: 94, name: "Gengar", type_1: :ghost, type_2: :poison, ability_1_id: 130) 172 Species.create(id: 94, name: "Gengar", type_1: :ghost, type_2: :poison, ability_1_id: 26)
173 Species.create(id: 95, name: "Onix", type_1: :rock, type_2: :ground, ability_1_id: 69, ability_2_id: 5) 173 Species.create(id: 95, name: "Onix", type_1: :rock, type_2: :ground, ability_1_id: 69, ability_2_id: 5)
174 Species.create(id: 96, name: "Drowzee", type_1: :psychic, ability_1_id: 15, ability_2_id: 108) 174 Species.create(id: 96, name: "Drowzee", type_1: :psychic, ability_1_id: 15, ability_2_id: 108)
175 Species.create(id: 97, name: "Hypno", type_1: :psychic, ability_1_id: 15, ability_2_id: 108) 175 Species.create(id: 97, name: "Hypno", type_1: :psychic, ability_1_id: 15, ability_2_id: 108)