On Nov 04, 2008, at 5:07 pm, Fernando Perez wrote:

Doh! I forgot to run the migrations in the newly created DB.

Hi Fernando

I used to do this all the time, so I made a db:migrate:all task[1] that means you don't have to remember which version which DB is on. Mine is for Merb, but I can only see a couple of lines that should need changing for Rails. You might find it useful.

Ashley


[1] 
http://aviewfromafar.net/2008/10/26/adventures-in-merbddland-3-reduce-migration-pain-with-db-migrate-all-rake-tasks



--
http://www.patchspace.co.uk/
http://aviewfromafar.net/

_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to