Method: ActiveHll::Utils.with_connection
- Defined in:
- lib/active_hll/utils.rb
.with_connection(relation, &block) ⇒ Object
20 21 22 |
# File 'lib/active_hll/utils.rb', line 20 def with_connection(relation, &block) relation.connection_pool.with_connection(&block) end |