Sha256: 4be358338240125c12cbb8f70e68df8ee7c931bbd9de36b9ee12ec40da81dc7f

Contents?: true

Size: 601 Bytes

Versions: 2

Compression:

Stored size: 601 Bytes

Contents

print "Using OCI Oracle\n"
require_dependency 'fixtures/course'
require 'logger'

ActiveRecord::Base.logger = Logger.new STDOUT
ActiveRecord::Base.logger.level = Logger::WARN

db1 = 'activerecord_unittest'
db2 = 'activerecord_unittest2'

ActiveRecord::Base.establish_connection(
  :adapter  => 'oci',
  :host     => '',          # can use an oracle SID
  :username => 'arunit',
  :password => 'arunit',
  :database => db1
)

Course.establish_connection(
  :adapter  => 'oci',
  :host     => '',          # can use an oracle SID
  :username => 'arunit2',
  :password => 'arunit2',
  :database => db2
)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord-1.13.1 test/connections/native_oci/connection.rb
activerecord-1.13.2 test/connections/native_oci/connection.rb