Skip to content

Commit c5d2ad8

Browse files
committed
update Seeds
1 parent 4afefe6 commit c5d2ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/seeds.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
77
# Character.create(name: 'Luke', movie: movies.first)
8-
Votes.destroy_all
8+
Vote.destroy_all
99
Pizza.destroy_all
1010

1111
Pizza.create([

0 commit comments

Comments
 (0)