Sha256: 2f60e65e27451af758bb87f842f5a5b0d4a9e4d0ffaca0135dd615b02538555a
Contents?: true
Size: 478 Bytes
Versions: 2
Compression:
Stored size: 478 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lolita-file-upload-0.2.1 | test_orm/active_record.rb |
lolita-file-upload-0.2.0 | test_orm/active_record.rb |