method
verify!
Ruby on Rails latest stable (v6.1.7.7)
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::AbstractAdapter
verify!()
public
Checks whether the connection to the database is still active (i.e. not stale). This is done under the hood by calling #active?. If the connection is no longer active, then this method will reconnect to the database.