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