Sha256: 82e096b1ddee72e93692fa9c741c793f3dce5cc9365d3c7ef577ca0a562d1ae2
Contents?: true
Size: 418 Bytes
Versions: 2
Compression:
Stored size: 418 Bytes
Contents
# This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup). # # NOTE: This script should be idempotent! # # Examples: # # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) # Character.create(name: 'Luke', movie: movies.first)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rsg-0.1.0 | lib/rsg/generators/orm/templates/seeds.rb.tt |
rsg-0.0.1 | lib/rsg/generators/orm/templates/seeds.rb |