method

with_temporary_connection

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: DatabaseTasks
with_temporary_connection(db_config, clobber: false) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/tasks/database_tasks.rb, line 499
      def with_temporary_connection(db_config, clobber: false) # :nodoc:
        with_temporary_pool(db_config, clobber: clobber) do |pool|
          yield pool.connection
        end
      end
Register or log in to add new notes.