Sha256: e55cf979e4c19bf51727a6debc31268c34d17d494ba8a99b772e2c416828a113

Contents?: true

Size: 241 Bytes

Versions: 12

Compression:

Stored size: 241 Bytes

Contents

gem 'activerecord', "~> 3.1.3" 
require 'active_record'
gem 'sqlite3', "~> 1.3.4"
require 'sqlite3'
def establish_connection(db_location)
  ActiveRecord::Base.establish_connection(
    :adapter => "sqlite3",
    :database => db_location)
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
snp-search-2.12.0 lib/snp_db_connection.rb
snp-search-2.11.0 lib/snp_db_connection.rb
snp-search-2.10.8 lib/snp_db_connection.rb
snp-search-2.10.7 lib/snp_db_connection.rb
snp-search-2.10.2 lib/snp_db_connection.rb
snp-search-2.10.0 lib/snp_db_connection.rb
snp-search-2.8.0 lib/snp_db_connection.rb
snp-search-2.7.0 lib/snp_db_connection.rb
snp-search-2.5.2 lib/snp_db_connection.rb
snp-search-2.5.0 lib/snp_db_connection.rb
snp-search-2.4.0 lib/snp_db_connection.rb
snp-search-2.3.0 lib/snp_db_connection.rb