123456789_123456789_123456789_123456789_123456789_

Class: ActiveRecord::ConnectionAdapters::ConnectionHandler::StringConnectionName

Do not use. This class is for internal use only.

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(name) ⇒ StringConnectionName

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb', line 60

def initialize(name)
  @name = name
end

Instance Attribute Details

#name (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb', line 58

attr_reader :name

#primary_class?Boolean (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb', line 64

def primary_class?
  false
end

Instance Method Details

#current_preventing_writes

[ GitHub ]

  
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb', line 68

def current_preventing_writes
  false
end