annotate console/db/seeds.rb @ 1458:b1f4c9a2af24
bug_794
Makes the default radio button checked by default -- this should fix bug #794.
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Mon, 11 Nov 2013 18:25:22 +0000 |
parents |
596803cb34fc |
children |
|
rev |
line source |
luis@98
|
1 # This file should contain all the record creation needed to seed the database with its default values.
|
luis@98
|
2 # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
luis@98
|
3 #
|
luis@98
|
4 # Examples:
|
luis@98
|
5 #
|
luis@98
|
6 # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
|
luis@98
|
7 # Major.create(:name => 'Daley', :city => cities.first)
|
luis@98
|
8
|
luis@98
|
9 puts "this is a test" |