1 # frozen_string_literal: true
3 # This file should contain all the record creation needed to seed the database with its default values.
4 # The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
8 # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
9 # Character.create(name: 'Luke', movie: movies.first)
11 Language.load(Rails.root.join("config/languages.yml"))