diff options
author | Teddy Wing | 2017-02-03 19:50:40 +0100 |
---|---|---|
committer | Teddy Wing | 2017-02-03 19:50:40 +0100 |
commit | 0c4c9d3d1e91529c4bb9b4b410293f3c38756e6a (patch) | |
tree | 993636b721c1d196784eb311bf86dd36e16adf50 /db | |
download | Angular-tutorial-0c4c9d3d1e91529c4bb9b4b410293f3c38756e6a.tar.bz2 |
Initial commit. Base Rails 5.0.1 project.
Diffstat (limited to 'db')
-rw-r--r-- | db/seeds.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/seeds.rb b/db/seeds.rb new file mode 100644 index 0000000..1beea2a --- /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 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) |