Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update documentation for AbstractAdapter#reset!

  • Loading branch information...
commit 3b6743ea3ff00789239632cc96f8d0b42f28f47e 1 parent 6782cb4
@FooBarWidget FooBarWidget authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.