about summary refs log tree commit diff
path: root/db/seeds.rb
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2022-01-15 12:10:26 -0500
committerBen Harris <ben@tilde.team>2022-01-15 12:10:26 -0500
commit2c8c227493509175fcdbcba3e6a85f8b954a169e (patch)
tree56c95cb471004fef1bfa4c99e93fdec1716e3840 /db/seeds.rb
init
Diffstat (limited to 'db/seeds.rb')
-rw-r--r--db/seeds.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
new file mode 100644
index 0000000..0664d1b
--- /dev/null
+++ b/db/seeds.rb
@@ -0,0 +1,8 @@
+# frozen_string_literal: true
+# 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 bin/rails db:seed command (or created alongside the database with db:setup).
+#
+# Examples:
+#
+#   movies = Movie.create([{ name: "Star Wars" }, { name: "Lord of the Rings" }])
+#   Character.create(name: "Luke", movie: movies.first)