1 print
"Using native PostgreSQL\n"
2 require_dependency
'models/course'
5 ActiveRecord
::Base.logger
= Logger
.new("debug.log")
7 ActiveRecord
::Base.configurations
= {
9 :adapter => 'postgresql',
10 :database => 'activerecord_unittest',
11 :min_messages => 'warning'
14 :adapter => 'postgresql',
15 :database => 'activerecord_unittest2',
16 :min_messages => 'warning'
20 ActiveRecord
::Base.establish_connection
'arunit'
21 Course
.establish_connection
'arunit2'