Froze rails gems
[depot.git] / vendor / rails / activerecord / test / connections / native_db2 / connection.rb
1 print "Using native DB2\n"
2 require_dependency 'models/course'
3 require 'logger'
4
5 ActiveRecord::Base.logger = Logger.new("debug.log")
6
7 ActiveRecord::Base.configurations = {
8 'arunit' => {
9 :adapter => 'db2',
10 :host => 'localhost',
11 :username => 'arunit',
12 :password => 'arunit',
13 :database => 'arunit'
14 },
15 'arunit2' => {
16 :adapter => 'db2',
17 :host => 'localhost',
18 :username => 'arunit',
19 :password => 'arunit',
20 :database => 'arunit2'
21 }
22 }
23
24 ActiveRecord::Base.establish_connection 'arunit'
25 Course.establish_connection 'arunit2'