The Seed Controversy (0 comments)Published 10th April 2016 at 07:39pm
In the Rails community there is some controversy over where to put seed data. Best practice advises that these are placed in the db/seeds.rb file within a Rails application, which is great if all you want to do is run
rake db:seed once throughout the entire life of your application or are ok with deleting everything in your database should you ever have to run the
rake db:seed command again.
So far, so terrible.[Read more...]