class ActiveRecord::ConnectionAdapters::AbstractAdapter

def disconnect!

method does nothing.
Disconnects from the database if already connected. Otherwise, this
def disconnect!
  @active = false
end