Sha256: 77e103121f4b51b4767f5e2cde6372c1357d2ae1b70f1aeaae0354767578060c
Contents?: true
Size: 535 Bytes
Versions: 2
Compression:
Stored size: 535 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 rake db:seed (or created alongside the db with db:setup). # # Examples: # # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }]) # Mayor.create(:name => 'Daley', :city => cities.first) FactoryGirl.create :page, :name => "Home" FactoryGirl.create :page, :name => "About" FactoryGirl.create :category, :name => "Cars" FactoryGirl.create :category, :name => "Animals"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
navi-0.2.1 | spec/dummy/db/seeds.rb |
navi-0.2.0 | spec/dummy/db/seeds.rb |