Sha256: 8eb66dcec85a40f3d87d323710559f48d9aa61341e0ca1ffd54d33a2e205fa0c

Contents?: true

Size: 240 Bytes

Versions: 4

Compression:

Stored size: 240 Bytes

Contents

require 'jdbc_common'

config = {
  :adapter => 'sqlite3',
  :database  => 'test.sqlite3.db'
}

ActiveRecord::Base.establish_connection(config)

at_exit {
  # Clean up sqlite3 db when done
  Dir['test.sqlite3*'].each {|f| File.delete(f)}
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activerecord-jdbc-adapter-1.2.9.1 test/db/sqlite3.rb
activerecord-jdbc-adapter-1.2.9 test/db/sqlite3.rb
activerecord-jdbc-adapter-1.2.8 test/db/sqlite3.rb
activerecord-jdbc-adapter-1.2.5 test/db/sqlite3.rb