method
disconnect!
v1.2.6 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
disconnect!()public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 84
def disconnect!
# Both postgres and postgres-pr respond to :close
@connection.close rescue nil
end