Sha256: 349e87e96a82fd277f6e29ec742b320989b605fdde93bbadafb62c85763aca86

Contents?: true

Size: 331 Bytes

Versions: 4

Compression:

Stored size: 331 Bytes

Contents

print "Using MySQL2\n"
require 'logger'

ActiveRecord::Base.configurations = {
  'afk' => {
    :adapter => 'mysql2',
    :database => 'afk_unittest',
    :username => 'afk',
    :encoding => 'utf8',
    :socket => '/var/run/mysqld/mysqld.sock',
    :min_messages => 'warning'
  }

}

ActiveRecord::Base.establish_connection 'afk'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
automatic_foreign_key-1.3.0 spec/connections/mysql2/connection.rb
automatic_foreign_key-1.2.0 spec/connections/mysql2/connection.rb
automatic_foreign_key-1.1.8 spec/connections/mysql2/connection.rb
automatic_foreign_key-1.1.7 spec/connections/mysql2/connection.rb