method

connection_active?

Method deprecated or moved

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

connection_active?()
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 273
          def connection_active?
            @connection.status == PG::CONNECTION_OK
          rescue PG::Error
            false
          end