# This file should contain all the record creation needed to populate sample data to use the application. The # data created here differs from the data created in db/seeds.rb as we don't expect the script to be idempotent # and assume that the script might be executed multiple times. # # The data can then be loaded with the bin/rails db:sample command. # # Examples: # # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) # Character.create(name: 'Luke', movie: movies.first)