method

use_transactional_tests_for_database

rails latest stable - Class: ActiveRecord::TestFixtures::ClassMethods

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

use_transactional_tests_for_database(database_name, enabled = true)
public

Enable or disable transactions per database. This overrides the default setting as defined by `use_transactional_tests`, which applies to all database connection pools not explicitly configured here.