Sha256: d1bcf07b85d8081a09adaf208ace02a70bfdf1399b35ca9b21ec560e8d54dff1
Contents?: true
Size: 463 Bytes
Versions: 2
Compression:
Stored size: 463 Bytes
Contents
print "Using native MySQL\n" require 'logger' ActiveRecord::Base.logger = Logger.new("debug.log") db1 = 'composite_primary_keys_unittest' connection_options = { :adapter => "mysql", :username => "root", :password => "root", :socket => '/Applications/MAMP/tmp/mysql/mysql.sock', :encoding => "utf8", :database => db1 } ActiveRecord::Base.configurations = { db1 => connection_options } ActiveRecord::Base.establish_connection(connection_options)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
composite_primary_keys-0.8.6 | test/connections/native_mysql/connection.rb |
composite_primary_keys-0.8.5 | test/connections/native_mysql/connection.rb |