aboutsummaryrefslogtreecommitdiffstats
path: root/railties/configs
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-05-11 11:43:30 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-05-11 11:43:30 -0700
commitd45d0a18647e906223b2859d1ce2a83be00095b1 (patch)
treefb7c8afe4cf0c368da13893dfef338e46d988a66 /railties/configs
parent4817bf94d135c44ddfae1a30acb15de989e3c86c (diff)
parent4932f7b38f72104819022abca0c952ba6f9888cb (diff)
downloadrails-d45d0a18647e906223b2859d1ce2a83be00095b1.tar.gz
rails-d45d0a18647e906223b2859d1ce2a83be00095b1.tar.bz2
rails-d45d0a18647e906223b2859d1ce2a83be00095b1.zip
Merge branch 'master' of git@github.com:rails/rails
Diffstat (limited to 'railties/configs')
-rw-r--r--railties/configs/seeds.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/configs/seeds.rb b/railties/configs/seeds.rb
new file mode 100644
index 0000000000..3174d0cb8a
--- /dev/null
+++ b/railties/configs/seeds.rb
@@ -0,0 +1,7 @@
+# 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' }])
+# Major.create(:name => 'Daley', :city => cities.first)