Sha256: 93cabd730168862cfcfb12a225cbb6accf08aaca44ded912dc0a398c33e0515c

Contents?: true

Size: 334 Bytes

Versions: 9

Compression:

Stored size: 334 Bytes

Contents

print "Using SQLite3\n"
require 'logger'

ActiveRecord::Base.logger = Logger.new("debug.log")

ActiveRecord::Base.configurations = {
  'redhillonrails' => {
    :adapter => 'sqlite3',
    :database => File.expand_path(File.dirname(__FILE__) + 'redhillonrails_core.db')
  }

}

ActiveRecord::Base.establish_connection 'redhillonrails'

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
redhillonrails_core-2.0.0.pre spec/connections/sqlite3/connection.rb
redhillonrails_core-1.2.0 spec/connections/sqlite3/connection.rb
aspgems-redhillonrails_core-2.0.0.beta2 spec/connections/sqlite3/connection.rb
aspgems-redhillonrails_core-2.0.0.beta1 spec/connections/sqlite3/connection.rb
redhillonrails_core-1.1.3 spec/connections/sqlite3/connection.rb
redhillonrails_core-1.1.3.pre1 spec/connections/sqlite3/connection.rb
redhillonrails_core-1.1.2 spec/connections/sqlite3/connection.rb
redhillonrails_core-1.1.1 spec/connections/sqlite3/connection.rb
redhillonrails_core-1.1.0 spec/connections/sqlite3/connection.rb