Sha256: ca033ae61656b3b0fb6ccddcf0033ce286186c7cbee2e2478512405d537fba13
Contents?: true
Size: 402 Bytes
Versions: 4
Compression:
Stored size: 402 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
4 entries across 4 versions & 1 rubygems