Skip to content
Browse files

Update documentation for AbstractAdapter#reset!

  • Loading branch information...
1 parent 6782cb4 commit 3b6743ea3ff00789239632cc96f8d0b42f28f47e @FooBarWidget FooBarWidget committed Sep 17, 2008
Showing with 4 additions and 3 deletions.
  1. +4 −3 activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
View
7 activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
@@ -116,9 +116,10 @@ def disconnect!
# 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

0 comments on commit 3b6743e

Please sign in to comment.
Something went wrong with that request. Please try again.