method
with_temporary_connection
rails latest stable - Class:
ActiveRecord::Tasks::DatabaseTasks
with_temporary_connection(db_config, clobber: false)public
No documentation available.
# 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