method
new
v1.0.0 -
Show latest stable
- Class:
OCI8AutoRecover
new(config, factory = OCIConnectionFactory.new)public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/oci_adapter.rb, line 542
def initialize(config, factory = OCIConnectionFactory.new)
@active = true
@username, @password, @host = config[:username], config[:password], config[:host]
@factory = factory
@connection = @factory.new_connection @username, @password, @host
super @connection
end