Sha256: 3c247d3f2e30e75d32594d4cf9f0ce595258bd4f48bd12b6220262cc707b34a6
Contents?: true
Size: 471 Bytes
Versions: 16
Compression:
Stored size: 471 Bytes
Contents
module Taps module AdapterHacks extend self LIST = { :all => ['non_rails_schema_dump'], :mysql => ['invalid_text_limit', 'mysql_invalid_primary_key'], :postgresql => ['invalid_text_limit', 'invalid_binary_limit'] } def load(adapter) LIST[:all].each do |r| require File.dirname(__FILE__) + "/adapter_hacks/#{r}" end (LIST[adapter.to_sym] || []).each do |r| require File.dirname(__FILE__) + "/adapter_hacks/#{r}" end end end end
Version data entries
16 entries across 16 versions & 2 rubygems