Sha256: 689f4f88405ee5c2d8a72189d72ff37c1cd81e942ca6c395a0814800e1580800

Contents?: true

Size: 512 Bytes

Versions: 66

Compression:

Stored size: 512 Bytes

Contents

print "Using Derby via JRuby, activerecord-jdbc-adapter and activerecord-jdbcderby-adapter\n"
require_dependency 'models/course'
require 'logger'
ActiveRecord::Base.logger = Logger.new("debug.log")

ActiveRecord::Base.configurations = {
  'arunit' => {
    :adapter  => 'jdbcderby',
    :database => 'activerecord_unittest'
  },
  'arunit2' => {
    :adapter  => 'jdbcderby',
    :database => 'activerecord_unittest2'
  }
}

ActiveRecord::Base.establish_connection 'arunit'
Course.establish_connection 'arunit2'

Version data entries

66 entries across 65 versions & 12 rubygems

Version Path
webroar-0.2.2 src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbcderby/connection.rb
radiant-0.8.1 vendor/rails/activerecord/test/connections/jdbc_jdbcderby/connection.rb
activerecord-2.3.4 test/connections/jdbc_jdbcderby/connection.rb
activerecord-2.3.3 test/connections/jdbc_jdbcderby/connection.rb
activerecord-2.3.2 test/connections/jdbc_jdbcderby/connection.rb
radiant-0.8.0 vendor/rails/activerecord/test/connections/jdbc_jdbcderby/connection.rb