Sha256: 410fa99f04afa9cfc55cc66b6222013d420e068b13cdad4ed970f79f02b8f668
Contents?: true
Size: 1.21 KB
Versions: 21
Compression:
Stored size: 1.21 KB
Contents
=begin print "Using native IBM_DB\n" require_dependency 'models/course' require 'logger' ActiveRecord::Base.logger = Logger.new STDOUT ActiveRecord::Base.logger.level = Logger::FATAL ActiveRecord::Base.configurations = { 'arunit' => { :adapter => 'ibm_db', :username => 'db2user', :password => 'secret', :host => 'bilbao', :port => '50000', :schema => 'rails123', :account => 'tester', :app_user => 'tester_11', :application => 'rails_tests', :workstation => 'auckland', :start_id => 100, :database => 'ARUNIT', :parameterized => false }, 'arunit2' => { :adapter => 'ibm_db', :username => 'db2user', :password => 'secret', :host => 'bilbao', :port => '50000', :schema => 'rails123', :account => 'tester', :app_user => 'tester_11', :application => 'rails_tests', :workstation => 'auckland', :start_id => 100, :database => 'ARUNIT2', :parameterized => false } } ActiveRecord::Base.establish_connection 'arunit' Course.establish_connection 'arunit2' =end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
ibm_db-2.6.0 | test/connections/native_ibm_db/connection.rb |