Sha256: b611e8a4e033cf96cffaac56ae7bdcc17fc5d2bf7bd5c628fbc866151731829a
Contents?: true
Size: 498 Bytes
Versions: 6
Compression:
Stored size: 498 Bytes
Contents
require 'test/unit' begin require File.dirname(__FILE__) + '/../../../../config/boot' require 'active_record' rescue LoadError require 'rubygems' require_gem 'activerecord' end require File.dirname(__FILE__) + '/../lib/active_record/base_without_table' config = YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml')) ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + '/debug.log') ActiveRecord::Base.establish_connection(config[ENV['DB'] || 'mysql'])
Version data entries
6 entries across 6 versions & 1 rubygems