method
connection_descriptor=
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PoolConfig
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