Class: ActiveRecord::ConnectionAdapters::BoundSchemaReflection::FakePool
Relationships & Source Files | |
Inherits: | Object |
Defined in: | activerecord/lib/active_record/connection_adapters/schema_cache.rb |
Overview
:nodoc
Class Method Summary
- .new(connection) ⇒ FakePool constructor
Instance Method Summary
Constructor Details
.new(connection) ⇒ FakePool
# File 'activerecord/lib/active_record/connection_adapters/schema_cache.rb', line 145
def initialize(connection) @connection = connection end
Instance Method Details
#with_connection {|@connection| ... }
# File 'activerecord/lib/active_record/connection_adapters/schema_cache.rb', line 149
def with_connection yield @connection end