Method: ActiveRecord::ConnectionAdapters::AbstractAdapter#disconnect!

Defined in:
lib/active_record/connection_adapters/abstract_adapter.rb

#disconnect!Object

Disconnects from the database if already connected. Otherwise, this method does nothing.



129
130
131
# File 'lib/active_record/connection_adapters/abstract_adapter.rb', line 129

def disconnect!
  @active = false
end