Method: ActiveRecord::ConnectionAdapters::AbstractAdapter#throw_away!
- Defined in:
- activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
#throw_away! ⇒ Object
Removes the connection from the pool and disconnect it.
726 727 728 729 |
# File 'activerecord/lib/active_record/connection_adapters/abstract_adapter.rb', line 726 def throw_away! pool.remove self disconnect! end |