From 8af754e1087d662ab68964aa67685d48b8e7c4fc Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 10 Oct 2018 08:03:13 +0100 Subject: Run rails new testapp --skip-bundle --- testapp/db/seeds.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 testapp/db/seeds.rb (limited to 'testapp/db/seeds.rb') diff --git a/testapp/db/seeds.rb b/testapp/db/seeds.rb new file mode 100644 index 0000000..1beea2a --- /dev/null +++ b/testapp/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 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) -- cgit v1.2.3