Sha256: afdcf28d99ae77594689033344684ec8e3e41c82e7fe2553a6c223d8530506a4
Contents?: true
Size: 1.17 KB
Versions: 59
Compression:
Stored size: 1.17 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
59 entries across 59 versions & 2 rubygems