aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-05-14 20:42:18 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-05-18 15:40:15 +0200
commit74c019113f57e6b0a99dd24f0bc07397ed5d10ff (patch)
tree1992dc887b7de69fd365d1430c3c71c26858dc06 /db
downloadrecruiting-webapp-74c019113f57e6b0a99dd24f0bc07397ed5d10ff.tar.gz
recruiting-webapp-74c019113f57e6b0a99dd24f0bc07397ed5d10ff.tar.bz2
recruiting-webapp-74c019113f57e6b0a99dd24f0bc07397ed5d10ff.zip
Initial commit - web app created by `hobo`, .gitignore, README.
Diffstat (limited to 'db')
-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)