Module: DataFabric::Extensions::ClassMethods
- Defined in:
- lib/data_fabric/extensions.rb
Overview
Class methods injected into ActiveRecord::Base
Instance Method Summary collapse
Instance Method Details
#data_fabric(options) ⇒ Object
23 24 25 26 |
# File 'lib/data_fabric/extensions.rb', line 23 def data_fabric() DataFabric.logger.info { "Creating data_fabric proxy for class #{name}" } connection_handler.connection_pools[name] = PoolProxy.new(ConnectionProxy.new(self, )) end |