about summary refs log tree commit diff
path: root/db/seeds.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/seeds.rb')
-rw-r--r--db/seeds.rb20
1 files changed, 20 insertions, 0 deletions
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