[rspec-users] RSpec and PostgreSQL not playing nicely together

Ashley Moran ashley.moran at patchspace.co.uk
Tue Nov 4 14:19:37 EST 2008


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/



More information about the rspec-users mailing list