Sha256: bf6542c78dee91e2ee80db62eae02e76efd87be05ac876a5bccdae5b9dfec317
Contents?: true
Size: 412 Bytes
Versions: 10
Compression:
Stored size: 412 Bytes
Contents
require 'active_record' require 'logger' dbconf = YAML::load(File.open('test_orm/rails/config/database.yml')) ActiveRecord::Base.establish_connection(dbconf["development"]) 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
10 entries across 10 versions & 1 rubygems