Sha256: 0558fba8e9e1891261213dd85d1c90728c08b1665db5bbd5ea506f0ddecfc5e7
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
require 'active_record' require 'logger' dbconf = YAML::load(File.open(File.expand_path('spec/test_orm/config/active_record.yml'))) ActiveRecord::Base.establish_connection(dbconf) ActiveRecord::Base.logger = Logger.new(File.open(File.expand_path('spec/test_orm/log/database.log'), 'a')) ActiveRecord::Migrator.up(File.expand_path('spec/test_orm/db/migrate')) Dir[File.expand_path("spec/test_orm/active_record/**/*.*")].each do |path| require path end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lolita-editable-list-0.1.2 | spec/test_orm/active_record.rb |