From 229d79fce9a092bd2e71559603fba67000b18254 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 23 Aug 2021 16:29:19 -0400 Subject: update to rails 3.0.2 --- db/seeds.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'db/seeds.rb') diff --git a/db/seeds.rb b/db/seeds.rb index 1beea2a..696eabf 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -5,3 +5,23 @@ # # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) # Character.create(name: 'Luke', movie: movies.first) + +machines = [ + ["Avengers", "Pro"], + ["Deadpool", "Pro"], + ["Family Guy", "Pro"], + ["Guardians of the Galaxy", "Pro"], + ["Jurassic Park", "Pro"], + ["Monster Bash", "Pro"], + ["Rick & Morty", "Pro"], + ["Simpsons", "Pro"], + ["Star Trek", "Pro"], + ["Star Wars", "Pro"], + ["Teenage Mutant Ninja Turtles", "Pro"], + ["The Mandalorian", "Pro"], + ["Walking Dead", "Pro"] +] + +machines.each do |name, edition| + Machine.create(name: name, edition: edition) +end -- cgit 1.4.1