Sha256: f2b4a5dd83fe599648e1d3466ac3552e4f7260095d2f2f87c4b96eae818f4cf1

Contents?: true

Size: 421 Bytes

Versions: 4

Compression:

Stored size: 421 Bytes

Contents

print "Using MySQL2\n"
require 'logger'

ActiveRecord::Base.logger = Logger.new(File.open("mysql2.log", "w"))

ActiveRecord::Base.configurations = {
  'schema_plus' => {
    :adapter => 'mysql2',
    :database => 'schema_plus_unittest',
    :username => 'schema_plus',
    :encoding => 'utf8',
    :socket => '/tmp/mysql.sock',
    :min_messages => 'warning'
  }

}

ActiveRecord::Base.establish_connection 'schema_plus'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
schema_plus-0.1.1 spec/connections/mysql2/connection.rb
schema_plus-0.1.0.pre3 spec/connections/mysql2/connection.rb
schema_plus-0.1.0.pre2 spec/connections/mysql2/connection.rb
schema_plus-0.1.0.pre1 spec/connections/mysql2/connection.rb