PDA

View Full Version : Migrations and fixtures


rubyonrails-talk
August 27th, 2006, 01:57 PM
I'd like to be able to regenerate my development database, tables and
data, from script, so that if I ever have a bug in my development
code, I can easily get the database back into a known state.
What is the best way to do this? Can I use fixtures to populate the
tables? Can I share fixtures between tests and migrations?

More... (http://groups.google.com/group/rubyonrails-talk/msg/c41c2d5d6d5f8b78)