method

reset_isolation_level

rails latest stable - Class: ActiveRecord::ConnectionAdapters::DatabaseStatements

Method not available on this version

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

reset_isolation_level()
public

Hook point called after an isolated DB transaction is committed or rolled back. Most adapters don’t need to implement anything because the isolation level is set on a per transaction basis. But some databases like SQLite set it on a per connection level and need to explicitly reset it after commit or rollback.