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

Version Path
lolita-file-upload-1.0.5 test_orm/active_record.rb
lolita-file-upload-1.0.4 test_orm/active_record.rb
lolita-file-upload-1.0.3 test_orm/active_record.rb
lolita-file-upload-1.0.2 test_orm/active_record.rb
lolita-file-upload-1.0.1 test_orm/active_record.rb
lolita-file-upload-1.0.0 test_orm/active_record.rb
lolita-file-upload-0.8.3 test_orm/active_record.rb
lolita-file-upload-0.8.2 test_orm/active_record.rb
lolita-file-upload-0.8.1 test_orm/active_record.rb
lolita-file-upload-0.8.0 test_orm/active_record.rb
lolita-file-upload-0.7.3 test_orm/active_record.rb
lolita-file-upload-0.7.2 test_orm/active_record.rb
lolita-file-upload-0.7.1 test_orm/active_record.rb
lolita-file-upload-0.6.2 test_orm/active_record.rb
lolita-file-upload-0.6.1 test_orm/active_record.rb
lolita-file-upload-0.6.0 test_orm/active_record.rb
lolita-file-upload-0.5.0 test_orm/active_record.rb
lolita-file-upload-0.4.13 test_orm/active_record.rb
lolita-file-upload-0.4.12 test_orm/active_record.rb
lolita-file-upload-0.4.11 test_orm/active_record.rb