# Rake test, disable rebuild of test database

**URL:** <https://www.ruby-forum.com/t/rake-test-disable-rebuild-of-test-database/90898>\
**Category:** Rails\
**Created:** [April 2, 2007, 8:54pm UTC](https://www.ruby-forum.com/t/rake-test-disable-rebuild-of-test-database/90898 "2007-04-02T20:54:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fredrik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/cab0a1/32.png) [@Fredrik](https://www.ruby-forum.com/u/Fredrik)\
**Post date:** [April 2, 2007, 8:54pm UTC](https://www.ruby-forum.com/t/rake-test-disable-rebuild-of-test-database/90898/1 "2007-04-02T20:54:11Z")

</div>

Hi,  
I was wondering if someone knows of a good way to disable the  
rebuilding of the test database on each rake test execution. At this  
point I’d prefer just to run the tests I have against a copy of the  
production database. I’m using multiple databases and have quite a few  
tables and just don’t see myself maintaining fixtures for all of these  
atm (atm really means never, I think. or atleast that’s the way it  
ususally ends up 😉 ).

Not the rails way, I know, but I’m also dealing with a bunch of legacy  
tables and that’s not the rails way either, but it works.

Thanks,  
Fredrik
