method

with_temporary_connection

with_temporary_connection(db_config, clobber: false, &block)
public

No documentation available.

# File activerecord/lib/active_record/tasks/database_tasks.rb, line 539
      def with_temporary_connection(db_config, clobber: false, &block) # :nodoc:
        with_temporary_pool(db_config, clobber: clobber) do |pool|
          pool.with_connection(&block)
        end
      end