diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-12-14 14:54:52 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-12-14 14:54:52 -0200 |
commit | 207e2ad9e7be393d871b14da55d23343a22326f6 (patch) | |
tree | b03cb61fe5a42035a30c34217fee81ca1e1cde9e /railties/lib | |
parent | 8d672a5f924493b8d7dd9074a41a065aa130c557 (diff) | |
parent | b66ee36ed14cdd9fc2b6ce72f67d32dbf0a20363 (diff) | |
download | rails-207e2ad9e7be393d871b14da55d23343a22326f6.tar.gz rails-207e2ad9e7be393d871b14da55d23343a22326f6.tar.bz2 rails-207e2ad9e7be393d871b14da55d23343a22326f6.zip |
Merge pull request #22561 from Cleggameg/patch-2
Update seeds.rb.tt
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/db/seeds.rb.tt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/db/seeds.rb.tt b/railties/lib/rails/generators/rails/app/templates/db/seeds.rb.tt index 4edb1e857e..1a289be5e8 100644 --- a/railties/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/db/seeds.rb.tt @@ -3,5 +3,5 @@ # # Examples: # -# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) -# Mayor.create(name: 'Emanuel', city: cities.first) +# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) +# Character.create(name: 'Luke', movie: movies.first) |