Multiple databases & testing

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
[email protected]
(805) 893-6307

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs