method
with_handler
v6.1.7.7 -
Show latest stable
- Class:
ActiveRecord::ConnectionHandling
with_handler(handler_key, &blk)private
No documentation available.
# File activerecord/lib/active_record/connection_handling.rb, line 371
def with_handler(handler_key, &blk)
handler = lookup_connection_handler(handler_key)
swap_connection_handler(handler, &blk)
end