]> git.openstreetmap.org Git - rails.git/blob - vendor/plugins/file_column/test/connection.rb
Correct name of ActiveRecord
[rails.git] / vendor / plugins / file_column / test / connection.rb
1 print "Using native MySQL\n"
2 require 'logger'
3
4 ActiveRecord::Base.logger = Logger.new("debug.log")
5
6 db = 'file_column_test'
7
8 ActiveRecord::Base.establish_connection(
9   :adapter  => "mysql",
10   :host     => "localhost",
11   :username => "rails",
12   :password => "",
13   :database => db,
14   :socket => "/var/run/mysqld/mysqld.sock"
15 )
16
17 load File.dirname(__FILE__) + "/fixtures/schema.rb"