Class: ActiveRecord::ConnectionAdapters::SQLite3ProxyAdapter
- Inherits:
-
SQLite3Adapter
- Object
- SQLite3Adapter
- ActiveRecord::ConnectionAdapters::SQLite3ProxyAdapter
- 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
-
#initialize ⇒ SQLite3ProxyAdapter
constructor
A new instance of SQLite3ProxyAdapter.
Constructor Details
#initialize ⇒ SQLite3ProxyAdapter
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 |