ODOWA
Accueil Inscription Contact

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 [...]... lire la suite

Lien du post: http://biodegradablegeek.com/2008/03/18/simple-way-to-populate-a-database-in-rails/

Sur le même thème :