From 3b6743ea3ff00789239632cc96f8d0b42f28f47e Mon Sep 17 00:00:00 2001 From: "Hongli Lai (Phusion)" Date: Wed, 17 Sep 2008 15:49:33 +0200 Subject: Update documentation for AbstractAdapter#reset! --- .../lib/active_record/connection_adapters/abstract_adapter.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index 2132b59fac..c5183357a1 100755 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -116,9 +116,10 @@ module ActiveRecord # Reset the state of this connection, directing the DBMS to clear # transactions and other connection-related server-side state. Usually a - # database-dependent operation; the default method simply executes a - # ROLLBACK and swallows any exceptions which is probably not enough to - # ensure the connection is clean. + # database-dependent operation. + # + # The default implementation does nothing; the implementation should be + # overridden by concrete adapters. def reset! # this should be overridden by concrete adapters end -- cgit v1.2.3