aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorHongli Lai (Phusion) <hongli@phusion.nl>2008-09-17 15:49:33 +0200
committerHongli Lai (Phusion) <hongli@phusion.nl>2008-09-17 15:49:33 +0200
commit3b6743ea3ff00789239632cc96f8d0b42f28f47e (patch)
tree6c75c20418be0ba54ca790d95d9957adbe67b5ed /activerecord
parent6782cb4e6690e108827ef479ffd12dd0471790e5 (diff)
downloadrails-3b6743ea3ff00789239632cc96f8d0b42f28f47e.tar.gz
rails-3b6743ea3ff00789239632cc96f8d0b42f28f47e.tar.bz2
rails-3b6743ea3ff00789239632cc96f8d0b42f28f47e.zip
Update documentation for AbstractAdapter#reset!
Diffstat (limited to 'activerecord')
-rwxr-xr-xactiverecord/lib/active_record/connection_adapters/abstract_adapter.rb7
1 files 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