Simple Way to Populate a Database in Rails
This is how I populate my database when I have a lot of data but can’t be bothered to write more than a quick throw-away hack. This doesn’t use fixtures, nor migrations (nothing wrong with them, I wuv migrations). Just a ruby file and the Rails console (this is optional actually). I create a new rb [...]SHARETHIS.addEntry({ title: "Simple Way to Populate a Database in Rails", url: "http://biodegradablegeek.com/2008/03/simple-way-to-populate-a-database-in-rails/" });


Tuesday, March 18, 2008
2 Comments