]> git.openstreetmap.org Git - rails.git/blobdiff - db/seeds.rb
Allow reporting of anonymous notes
[rails.git] / db / seeds.rb
index 664d8c74c881988e55df276a81f50d1d25b8d262..1beea2accd7ed91d080b323eef17dba95e95e27f 100644 (file)
@@ -1,7 +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).
+# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
 #
 # Examples:
 #
-#   cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
-#   Mayor.create(:name => 'Daley', :city => cities.first)
+#   movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
+#   Character.create(name: 'Luke', movie: movies.first)