Sha256: f0c5cf4658b380e5a7a97a4cdb83c3ec8a00f98ed3c303675d85f6a9de9e41fe

Contents?: true

Size: 526 Bytes

Versions: 4

Compression:

Stored size: 526 Bytes

Contents

require 'foreigner' #matthuhiggens-foreigner

require 'legacy_data/table_definition'
require 'legacy_data/schema'
require 'legacy_data/table_class_name_mapper'

module ActiveRecord  
  Base.class_eval do
    if ['OracleEnhanced'].include? connection.adapter_name
      # require "#{File.dirname(__FILE__)}/active_record/connection_adapters/#{connection.adapter_name.underscore}_adapter"
      require "#{File.dirname(__FILE__)}/active_record/connection_adapters/#{connection.adapter_name.downcase}_adapter"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
legacy_data-0.1.12 lib/legacy_data.rb
legacy_data-0.1.11 lib/legacy_data.rb
legacy_data-0.1.10 lib/legacy_data.rb
legacy_data-0.1.9 lib/legacy_data.rb