Flowdock
release_connection(owner_thread = Thread.current) public

Signal that the thread is finished with the current connection. #release_connection releases the connection-thread association and returns the connection to the pool.

This method only works for connections that have been obtained through #connection or #with_connection methods, connections obtained through #checkout will not be automatically released.

Show source
Register or log in to add new notes.