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