class ActiveRecord::ConnectionAdapters::ConnectionHandler::ConnectionDescriptor

:nodoc:

def current_preventing_writes

def current_preventing_writes
  ActiveRecord::Base.preventing_writes?(@name)
end

def initialize(name, primary = false)

:nodoc:
def initialize(name, primary = false)
  @name = name
  @primary = primary
end

def name

def name
  primary_class? ? "ActiveRecord::Base" : @name
end

def primary_class?

def primary_class?
  @primary
end