Sha256: 1da9f0851f0599cf04c5ba148e2aefe5ecc0f62eadd6fba0209f045bb9194231
Contents?: true
Size: 1.07 KB
Versions: 3
Compression:
Stored size: 1.07 KB
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 rails db:seed command (or created alongside the database with db:setup). # # Enviroment Specific Seed data is handled with the seedbank gem and follows this structure # # db/seeds/ # bar.seeds.rb # development/ # users.seeds.rb # foo.seeds.rb # # This would generate the following Rake tasks # # rake db:seed Load the seed data from db/seeds.rb, db/seeds/*.seeds.rb and db/seeds/ENVIRONMENT/*.seeds.rb. ENVIRONMENT is the current environment in Rails.env. # rake db:seed:bar Load the seed data from db/seeds/bar.seeds.rb # rake db:seed:common Load the seed data from db/seeds.rb and db/seeds/*.seeds.rb. # rake db:seed:development Load the seed data from db/seeds.rb, db/seeds/*.seeds.rb and db/seeds/development/*.seeds.rb. # rake db:seed:development:users Load the seed data from db/seeds/development/users.seeds.rb # rake db:seed:original Load the seed data from db/seeds.rb
Version data entries
3 entries across 3 versions & 1 rubygems