1 print
"Using native DB2\n"
2 require_dependency
'models/course'
5 ActiveRecord
::Base.logger
= Logger
.new("debug.log")
7 ActiveRecord
::Base.configurations
= {
11 :username => 'arunit',
12 :password => 'arunit',
18 :username => 'arunit',
19 :password => 'arunit',
20 :database => 'arunit2'
24 ActiveRecord
::Base.establish_connection
'arunit'
25 Course
.establish_connection
'arunit2'