method
reconnect!
v4.2.7 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::AbstractAdapter
reconnect!()public
Disconnects from the database if already connected, and establishes a new connection with the database. Implementors should call super if they override the default implementation.