Sha256: 9511f7d3467c776534369143040c1017e6b1e2f913a197b6f12f766cb38023d2
Contents?: true
Size: 408 Bytes
Versions: 11
Compression:
Stored size: 408 Bytes
Contents
print "Using MySQL\n" require 'logger' ActiveRecord::Base.logger = Logger.new(File.open("mysql.log", "w")) ActiveRecord::Base.configurations = { 'schema_plus' => { :adapter => 'mysql', :database => 'schema_plus_test', :username => ENV.fetch('MYSQL_DB_USER', 'schema_plus'), :encoding => 'utf8', :min_messages => 'warning' } } ActiveRecord::Base.establish_connection 'schema_plus'
Version data entries
11 entries across 11 versions & 1 rubygems