method
active_threadsafe?
v4.1.8 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
active_threadsafe?()public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 595
def active_threadsafe?
@connection.connect_poll != PG::PGRES_POLLING_FAILED
end