Sha256: bd8e75bd15c7bf37bd58db83e5fd7fcfa996a74cd3456db60bc53f4925f9b835

Contents?: true

Size: 523 Bytes

Versions: 5

Compression:

Stored size: 523 Bytes

Contents

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

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

# Set these to your database connection strings
db = ENV['ARUNIT_DB'] || 'ruby_ut'

ActiveRecord::Base.establish_connection(
  :adapter  => 'oracle',
  :username => 'ruby_ut',
  :password => 'ruby_ut1',
  :database => db
)

Course.establish_connection(
  :adapter  => 'oracle',
  :username => 'ruby_ut',
  :password => 'ruby_ut1',
  :database => db
)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
composite_primary_keys-0.7.2 test/connections/native_oracle/connection.rb
composite_primary_keys-0.7.3 test/connections/native_oracle/connection.rb
composite_primary_keys-0.8.0 test/connections/native_oracle/connection.rb
composite_primary_keys-0.7.4 test/connections/native_oracle/connection.rb
composite_primary_keys-0.7.5 test/connections/native_oracle/connection.rb