connection (ActiveRecord::Base)

    # File lib/active_record/connection_adapters/abstract/connection_specification.rb, line 73
          def connection
            if defined?(@active_connection_name) && (conn = active_connections[@active_connection_name])
              conn
            else
              # retrieve_connection sets the cache key.
              conn = retrieve_connection
              active_connections[@active_connection_name] = conn
            end
          end