This method is deprecated or moved on the latest stable version.
The last existing version (v1.2.6) is shown here.
active?()
public
Returns true if the connection is active.
# File activerecord/lib/active_record/connection_adapters/oracle_adapter.rb, line 193
def active?
# Pings the connection to check if it's still good. Note that an
# #active? method is also available, but that simply returns the
# last known state, which isn't good enough if the connection has
# gone stale since the last use.
@connection.ping
rescue OCIException
false
end