instance method
reset!
Ruby on Rails 3.1.12
Since v2.2.3Signature
reset!()
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 implementation does nothing; the implementation should be overridden by concrete adapters.
Source
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 169
def reset!
# this should be overridden by concrete adapters
end
Defined in activerecord/lib/active_record/connection_adapters/abstract_adapter.rb line 169
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::AbstractAdapter