]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/composite_primary_keys-2.2.2/lib/adapter_helper/mysql.rb
Add version 2.2.2 of composite_primary_keys.
[rails.git] / vendor / gems / composite_primary_keys-2.2.2 / lib / adapter_helper / mysql.rb
1 require File.join(File.dirname(__FILE__), 'base')
2
3 module AdapterHelper
4   class MySQL < Base
5     class << self
6       def load_connection_from_env
7         spec = super('mysql')
8         spec[:database] ||= 'composite_primary_keys_unittest'
9         spec
10       end
11     end
12   end
13 end