Method: ActiveRecord::ConnectionAdapters::AbstractAdapter#reconnect!
- Defined in:
- lib/active_record/connection_adapters/abstract_adapter.rb
#reconnect! ⇒ Object
Disconnects from the database if already connected, and establishes a new connection with the database.
123 124 125 |
# File 'lib/active_record/connection_adapters/abstract_adapter.rb', line 123 def reconnect! @active = true end |