diff options
author | Ben Harris <ben@tilde.team> | 2021-08-23 16:29:19 -0400 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2021-08-23 16:29:19 -0400 |
commit | 229d79fce9a092bd2e71559603fba67000b18254 (patch) | |
tree | c960aa3d7ff077eca7af027df61385e88c8454c9 /db/seeds.rb | |
parent | 0d1be8d46ae036ad1588f6c2e590eb1ba3993eb2 (diff) |
update to rails 3.0.2
Diffstat (limited to 'db/seeds.rb')
-rw-r--r-- | db/seeds.rb | 20 |
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 |