1 print
"Using native MySQL\n"
2 require_dependency
'models/course'
5 ActiveRecord
::Base.logger
= Logger
.new("debug.log")
7 # GRANT ALL PRIVILEGES ON activerecord_unittest.* to 'rails'@'localhost';
8 # GRANT ALL PRIVILEGES ON activerecord_unittest2.* to 'rails'@'localhost';
10 ActiveRecord
::Base.configurations
= {
15 :database => 'activerecord_unittest',
20 :database => 'activerecord_unittest2'
24 ActiveRecord
::Base.establish_connection
'arunit'
25 Course
.establish_connection
'arunit2'