about summary refs log tree commit diff
path: root/db/seeds.rb
blob: 696eabf6b79e66805c7dd0c9b8505946d9ef6e35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
#   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