Froze rails gems
[depot.git] / vendor / rails / activerecord / test / connections / native_firebird / connection.rb
1 print "Using native Firebird\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 => 'firebird',
10 :host => 'localhost',
11 :username => 'rails',
12 :password => 'rails',
13 :database => 'activerecord_unittest',
14 :charset => 'UTF8'
15 },
16 'arunit2' => {
17 :adapter => 'firebird',
18 :host => 'localhost',
19 :username => 'rails',
20 :password => 'rails',
21 :database => 'activerecord_unittest2'
22 }
23 }
24
25 ActiveRecord::Base.establish_connection 'arunit'
26 Course.establish_connection 'arunit2'