seeds.rb 403 B

123456789101112
  1. # frozen_string_literal: true
  2. # This file should contain all the record creation needed to seed the database
  3. # with its default values.
  4. #
  5. # The data can then be loaded with the rails db:seed command (or created
  6. # alongside the database with db:setup).
  7. #
  8. # Examples:
  9. #
  10. # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
  11. # Character.create(name: 'Luke', movie: movies.first)