aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-12-27 13:43:19 +0200
committerPetteri Räty <betelgeuse@gentoo.org>2009-12-27 13:43:19 +0200
commit34ee6eb79aa95ac9f11f243b5cc91ec8cedfb0a2 (patch)
treef977c1673135378773fadc2a99c0f2790535780e /db/seeds.rb
downloadcouncil-webapp-34ee6eb79aa95ac9f11f243b5cc91ec8cedfb0a2.tar.gz
council-webapp-34ee6eb79aa95ac9f11f243b5cc91ec8cedfb0a2.tar.bz2
council-webapp-34ee6eb79aa95ac9f11f243b5cc91ec8cedfb0a2.zip
Populate empty Hobo application
Used rails 2.3.5 and hobo 1.0 RC2 to populate an empty rails application to use as a base.
Diffstat (limited to 'db/seeds.rb')
-rw-r--r--db/seeds.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
new file mode 100644
index 0000000..3174d0c
--- /dev/null
+++ b/db/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)