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 61
def initialize(name)
@name = name
end
Instance Attribute Details
#name
[ GitHub ]
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb', line 59
attr_reader :name
#primary_class? ⇒ Boolean
[ GitHub ]
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb', line 65
def primary_class?
false
end
Instance Method Details
#current_preventing_writes
[ GitHub ]
# File 'activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb', line 69
def current_preventing_writes
false
end