Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1.2.6) is shown here.
reset!()
public
Resets connection, by logging off and creating a new connection.
# File activerecord/lib/active_record/connection_adapters/oracle_adapter.rb, line 640
def reset!
logoff rescue nil
begin
@connection = @factory.new_connection @username, @password, @database, @async, @prefetch_rows, @cursor_sharing
__setobj__ @connection
@active = true
rescue
@active = false
raise
end
end