diff options
Diffstat (limited to 'db/seeds.rb')
-rw-r--r-- | db/seeds.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/seeds.rb b/db/seeds.rb index a1459cc..1e2888a 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -51,3 +51,8 @@ load_data_file("data/monsters.yml").map do |gid, hash| monster = Monster.find_or_create_by(gid: gid) monster.update(hash) end + +load_data_file("data/conditions.yml").map do |gid, hash| + condition = Condition.find_or_create_by(gid: gid) + condition.update(hash) +end |