When trying to load fixtures into multiple databases in a test, loading fails when the default connection is, eg, postgres, and the connection loading into is mysql due to different quoting rules.
This is because, while the Fixures class is smart enough to use the connection of the AR object its trying to load, the Fixture class is not, and uses ActiveRecord::Base for its quoting rules.
If AR::Base.connection is postgres, and the object.connection is mysql, this results in invalid mysql statements to insert the fixture.
Attached is a patch that infers the proper connection for Fixture, the same way the Fixtures class does. I'm not sure how to test this thing, but my change hasn't broken any of the existing tests, and the default behavior has not changed.