method

outside_transaction?

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

outside_transaction?()
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb, line 222
        def outside_transaction?
          message = "#outside_transaction? is deprecated. This method was only really used "                      "internally, but you can use #transaction_open? instead."
          ActiveSupport::Deprecation.warn message
          @connection.transaction_status == PGconn::PQTRANS_IDLE
        end