method
connection_active?
v6.1.7.7 -
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 239
def connection_active?
@connection.status == PG::CONNECTION_OK
rescue PG::Error
false
end