Sha256: ef9b6a936935673dfe4d5a94237923b81ddb775ad9335ca0621b5c164556e5be

Contents?: true

Size: 260 Bytes

Versions: 31

Compression:

Stored size: 260 Bytes

Contents

require File.join(File.dirname(__FILE__), 'base')

module AdapterHelper
  class Sqlite3 < Base
    class << self
      def load_connection_from_env
        spec = super('sqlite3')
        spec[:dbfile] ||= "tmp/test.db"
        spec
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 6 rubygems

Version Path
composite_primary_keys-1.0.2 lib/adapter_helper/sqlite3.rb
composite_primary_keys-0.9.93 lib/adapter_helper/sqlite3.rb
composite_primary_keys-2.2.1 lib/adapter_helper/sqlite3.rb
composite_primary_keys-1.1.0 lib/adapter_helper/sqlite3.rb
composite_primary_keys-1.0.8 lib/adapter_helper/sqlite3.rb
composite_primary_keys-1.0.7 lib/adapter_helper/sqlite3.rb
composite_primary_keys-1.0.4 lib/adapter_helper/sqlite3.rb
composite_primary_keys-2.2.2 lib/adapter_helper/sqlite3.rb
composite_primary_keys-2.2.0 lib/adapter_helper/sqlite3.rb
composite_primary_keys-1.0.6 lib/adapter_helper/sqlite3.rb
composite_primary_keys-1.0.5 lib/adapter_helper/sqlite3.rb