Sha256: f39b5e1bed669eff9209bb202b2ec1a555969d6ab828b6c3d6d6b851efba8281
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 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) # User.create!(:name => "Mr Admin", :email => "hello@wearebeef.co.uk", :password => "passw0rd", :password_confirmation => "passw0rd", :groups => ['admin']) Home.create!(:title => "Home", :publish => true)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
noodall-0.0.3 | lib/noodall/templates/db/seeds.rb |