Forum: Ruby on Rails Multiple databases & testing

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
John S. (Guest)
on 2006-03-29 03:25
(Received via mailing list)
Has anyone been able to get tests to work when using multiple
databases? Fixtures don't exactly comply with the object oriented
model; it assumes they all use the same default database.

I came up with a hack for Rails 1.0, but it was a big task and I
don't want to have to redo it for each release of Rails.

Will FlexibleFixtures support transactions for multiple databases? If
it does then it might work.


John S.
Computing Staff - Webmaster
Kavli Institute for Theoretical Physics
University of California, Santa Barbara
(805) 893-6307
This topic is locked and can not be replied to.