Method: ActiveRecord::ConnectionAdapters::AbstractAdapter#discard!
- Defined in:
- activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
#discard! ⇒ Object
Immediately forget this connection ever existed. Unlike disconnect!, this will not communicate with the server.
After calling this method, the behavior of all other methods becomes undefined. This is called internally just before a forked process gets rid of a connection that belonged to its parent.
714 715 716 |
# File 'activerecord/lib/active_record/connection_adapters/abstract_adapter.rb', line 714 def discard! # This should be overridden by concrete adapters. end |