]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/composite_primary_keys-1.1.0/lib/adapter_helper/postgresql.rb
Patch composite_primary_keys to work around issue when one component of
[rails.git] / vendor / gems / composite_primary_keys-1.1.0 / lib / adapter_helper / postgresql.rb
1 require File.join(File.dirname(__FILE__), 'base')
2
3 module AdapterHelper
4   class Postgresql < Base
5     class << self
6       def load_connection_from_env
7         spec = super('postgresql')
8         spec[:database] ||= 'composite_primary_keys_unittest'
9         spec
10       end
11     end
12   end
13 end