method
discard!
v7.1.3.2 -
Show latest stable
- 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!