Class: ActiveRecord::ConnectionAdapters::SQLite3ProxyAdapter

Inherits:
SQLite3Adapter
  • Object
show all
Includes:
ActiveRecordProxyAdapters::Hijackable
Defined in:
lib/active_record/connection_adapters/sqlite3_proxy_adapter.rb

Overview

This adapter is a proxy to the original SQLite3Adapter, allowing the use of the ActiveRecordProxyAdapters::PrimaryReplicaProxy.

Constant Summary collapse

ADAPTER_NAME =
"SQLite3Proxy"

Instance Method Summary collapse

Constructor Details

#initializeSQLite3ProxyAdapter

Returns a new instance of SQLite3ProxyAdapter.



20
21
22
23
24
# File 'lib/active_record/connection_adapters/sqlite3_proxy_adapter.rb', line 20

def initialize(...)
  @proxy = ActiveRecordProxyAdapters::SQLite3Proxy.new(self)

  super
end