Sha256: 99ff562a82fe6d7ff3d76f22e22383a922955673b310468674e5fb0df57d3e86

Contents?: true

Size: 288 Bytes

Versions: 31

Compression:

Stored size: 288 Bytes

Contents

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

module AdapterHelper
  class Postgresql < Base
    class << self
      def load_connection_from_env
        spec = super('postgresql')
        spec[:database] ||= 'composite_primary_keys_unittest'
        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/postgresql.rb
composite_primary_keys-1.0.3 lib/adapter_helper/postgresql.rb
composite_primary_keys-2.2.1 lib/adapter_helper/postgresql.rb
composite_primary_keys-2.2.0 lib/adapter_helper/postgresql.rb
composite_primary_keys-1.1.0 lib/adapter_helper/postgresql.rb
composite_primary_keys-1.0.8 lib/adapter_helper/postgresql.rb
composite_primary_keys-1.0.7 lib/adapter_helper/postgresql.rb
composite_primary_keys-1.0.5 lib/adapter_helper/postgresql.rb
composite_primary_keys-1.0.4 lib/adapter_helper/postgresql.rb
composite_primary_keys-2.2.2 lib/adapter_helper/postgresql.rb
composite_primary_keys-1.0.6 lib/adapter_helper/postgresql.rb