method

connected?

rails latest stable - Class: ActiveRecord::ConnectionAdapters::AbstractAdapter

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

connected?()
public

Checks whether the connection to the database was established. This doesn’t include checking whether the database is actually capable of responding, i.e. whether the connection is stale.