Forum: Ruby on Rails Multiple databases & testing

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
858392acd1398aa6071fb1d44cc33842?d=identicon&s=25 John Smilanick (Guest)
on 2006-03-29 01: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

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