method
connection_active?
v3.2.8 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::StatementPool
connection_active?()private
No documentation available.
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 300
def connection_active?
@connection.status == PGconn::CONNECTION_OK
rescue PGError
false
end