Method not available on this version
This method is only available on newer versions.
The first available version (v8.1.1) is shown here.
isolation()
public
Returns the isolation
level if it was explicitly set, nil otherwise
# File activerecord/lib/active_record/connection_adapters/abstract/transaction.rb, line 156
def isolation
@isolation_level
end