Method: ActiveRecord::ConnectionAdapters::BoundSchemaReflection::FakePool#with_connection

Defined in:
activerecord/lib/active_record/connection_adapters/schema_cache.rb

#with_connection {|@connection| ... } ⇒ Object

Yields:

  • (@connection)


149
150
151
# File 'activerecord/lib/active_record/connection_adapters/schema_cache.rb', line 149

def with_connection
  yield @connection
end