Sha256: 4134a1f47aed58625ee3ae2d480464d4090de0c73e35300e2e6671cd762c02b2
Contents?: true
Size: 395 Bytes
Versions: 14
Compression:
Stored size: 395 Bytes
Contents
require 'active_record' require 'logger' dbconf = YAML::load(File.open('test_orm/config/active_record.yml')) ActiveRecord::Base.establish_connection(dbconf) ActiveRecord::Base.logger = Logger.new(File.open('test_orm/log/database.log', 'a')) ActiveRecord::Migrator.up('test_orm/db/migrate') #Dir[File.expand_path("test_orm/active_record/**/*.*")].each do |path| # require path #end
Version data entries
14 entries across 14 versions & 1 rubygems