Module: ActiveRecord::ConnectionAdapters::JndiConnectionPoolCallbacks Private
- Defined in:
- lib/torquebox/active_record_adapters.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .prepare(adapter, conn) ⇒ Object private
Class Method Details
.prepare(adapter, conn) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
147 148 149 150 151 |
# File 'lib/torquebox/active_record_adapters.rb', line 147 def self.prepare(adapter, conn) if ActiveRecord::Base.respond_to?(:connection_pool) && conn.jndi_connection? adapter.extend self end end |