method

connection_descriptor=

rails latest stable - Class: ActiveRecord::ConnectionAdapters::PoolConfig

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

connection_descriptor=(connection_descriptor)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/pool_config.rb, line 43
      def connection_descriptor=(connection_descriptor)
        case connection_descriptor
        when ConnectionHandler::ConnectionDescriptor
          @connection_descriptor = connection_descriptor
        else
          @connection_descriptor = ConnectionHandler::ConnectionDescriptor.new(connection_descriptor.name, connection_descriptor.primary_class?)
        end
      end