method

release

rails latest stable - Class: ActiveRecord::ConnectionAdapters::ConnectionPool::Lease

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

release()
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 157
        def release
          conn = @connection
          @connection = nil
          @sticky = nil
          conn
        end