Sha256: 5936f5a070f4ac7130956615520c7aa1ed7f10a1d700e0ff668cbc98853afa1e
Contents?: true
Size: 467 Bytes
Versions: 39
Compression:
Stored size: 467 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/uploaders/**/*.*")].each do |path| require path end Dir[File.expand_path("test_orm/active_record/**/*.*")].each do |path| require path end
Version data entries
39 entries across 39 versions & 1 rubygems