method

discard!

Importance_1
v6.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::ConnectionPool
discard!() public

Discards all connections in the pool (even if they’re currently leased!), along with the pool itself. Any further interaction with the pool (except #spec and #schema_cache) is undefined.

See AbstractAdapter#discard!

Show source
Register or log in to add new notes.