aboutsummaryrefslogtreecommitdiffstats
path: root/db/seeds.rb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2013-01-25 21:53:05 +0100
committerHarald Eilertsen <haraldei@anduin.net>2013-01-25 21:53:05 +0100
commitf087c23c8600fe197d3a59f4a0cd839754459b37 (patch)
tree5577105a38545b143efec0bdb8c134bea04005c8 /db/seeds.rb
downloadhmnoweb-f087c23c8600fe197d3a59f4a0cd839754459b37.tar.gz
hmnoweb-f087c23c8600fe197d3a59f4a0cd839754459b37.tar.bz2
hmnoweb-f087c23c8600fe197d3a59f4a0cd839754459b37.zip
Initial commit.
Diffstat (limited to 'db/seeds.rb')
-rw-r--r--db/seeds.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
new file mode 100644
index 0000000..5e6468a
--- /dev/null
+++ b/db/seeds.rb
@@ -0,0 +1,10 @@
+# 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' }])
+# Mayor.create(name: 'Emanuel', city: cities.first)
+
+# Added by Refinery CMS Pages extension
+Refinery::Pages::Engine.load_seed