]> git.openstreetmap.org Git - rails.git/blob - db/seeds.rb
Add frozen_string_literal comments to ruby files
[rails.git] / db / seeds.rb
1 # frozen_string_literal: true
2
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).
5 #
6 # Examples:
7 #
8 #   movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
9 #   Character.create(name: 'Luke', movie: movies.first)
10
11 Language.load(Rails.root.join("config/languages.yml"))