I have a rails app with a Postgres db and 4 mysql dbs – how can I wrap queries to all dbs in transactions and not just the primary (Postgres) db?
Basically, I have a rails app the has one Postgres database as the primary and reads and writes to both it and 4 independent mysql databases. Transactional tests work just fine when testing behavior that only affects the Postgres database, but actions that affect the mysql databases are not wrapped in a transaction.