2021-12-18 10:31:37 +01:00
|
|
|
# This file should contain all the record creation needed to seed the database with its default values.
|
2021-12-18 11:39:41 +01:00
|
|
|
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
2021-12-18 10:31:37 +01:00
|
|
|
#
|
|
|
|
# Examples:
|
|
|
|
#
|
2021-12-18 11:39:41 +01:00
|
|
|
# cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
|
|
|
|
# Mayor.create(:name => 'Daley', :city => cities.first)
|