method
connection_active?
rails latest stable - Class:
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::StatementPool
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