Sha256: 55aba13202e34c720dc5ed639cc2415e72cc3e58feafdc3190dd2d7133e3a135

Contents?: true

Size: 471 Bytes

Versions: 15

Compression:

Stored size: 471 Bytes

Contents

print "Using native DB2\n"
require 'fixtures/course'
require 'logger'

ActiveRecord::Base.logger = Logger.new("debug.log")

db1 = 'arunit'
db2 = 'arunit2'

ActiveRecord::Base.establish_connection(
  :adapter  => "db2",
  :host     => "localhost",
  :username => "arunit",
  :password => "arunit",
  :database => db1
)

Course.establish_connection(
  :adapter  => "db2",
  :host     => "localhost",
  :username => "arunit2",
  :password => "arunit2",
  :database => db2
)

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
activerecord-1.11.0 test/connections/native_db2/connection.rb
activerecord-1.12.2 test/connections/native_db2/connection.rb
activerecord-1.11.1 test/connections/native_db2/connection.rb
activerecord-1.10.0 test/connections/native_db2/connection.rb
activerecord-1.10.1 test/connections/native_db2/connection.rb
activerecord-1.13.0 test/connections/native_db2/connection.rb
activerecord-1.12.1 test/connections/native_db2/connection.rb
activerecord-1.4.0 test/connections/native_db2/connection.rb
activerecord-1.8.0 test/connections/native_db2/connection.rb
activerecord-1.5.0 test/connections/native_db2/connection.rb
activerecord-1.7.0 test/connections/native_db2/connection.rb
activerecord-1.5.1 test/connections/native_db2/connection.rb
activerecord-1.6.0 test/connections/native_db2/connection.rb
activerecord-1.9.0 test/connections/native_db2/connection.rb
activerecord-1.9.1 test/connections/native_db2/connection.rb