]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/composite_primary_keys-2.2.2/lib/adapter_helper/postgresql.rb
Improve working of PD question
[rails.git] / vendor / gems / composite_primary_keys-2.2.2 / 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