Sha256: 01f5878d55b5a3f25a3ef8c2b3db969bede3d869c2847154a3da5cfcc1778b34

Contents?: true

Size: 607 Bytes

Versions: 13

Compression:

Stored size: 607 Bytes

Contents

module ActiveRecord
  module ConnectionAdapters
    class OracleEnhancedRailtie < ::Rails::Railtie
      rake_tasks do
        load 'active_record/connection_adapters/oracle_enhanced/database_tasks.rb'
      end

      ActiveSupport.on_load(:active_record) do
        require 'active_record/connection_adapters/oracle_enhanced_adapter'

        # Cache column descriptions between requests in test and production environments
        if Rails.env.test? || Rails.env.production?
          ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.cache_columns = true
        end

      end

    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
activerecord-oracle_enhanced-adapter-1.7.4 lib/activerecord-oracle_enhanced-adapter.rb
activerecord-oracle_enhanced-adapter-1.7.3 lib/activerecord-oracle_enhanced-adapter.rb
activerecord-oracle_enhanced-adapter-1.7.2 lib/activerecord-oracle_enhanced-adapter.rb
activerecord-oracle_enhanced-adapter-1.7.1 lib/activerecord-oracle_enhanced-adapter.rb
activerecord-oracle_enhanced-adapter-1.7.0 lib/activerecord-oracle_enhanced-adapter.rb
activerecord-oracle_enhanced-adapter-1.7.0.rc1 lib/activerecord-oracle_enhanced-adapter.rb
activerecord-oracle_enhanced-adapter-1.7.0.beta7 lib/activerecord-oracle_enhanced-adapter.rb
activerecord-oracle_enhanced-adapter-1.7.0.beta6 lib/activerecord-oracle_enhanced-adapter.rb
activerecord-oracle_enhanced-adapter-1.7.0.beta5 lib/activerecord-oracle_enhanced-adapter.rb
activerecord-oracle_enhanced-adapter-1.7.0.beta4 lib/activerecord-oracle_enhanced-adapter.rb
activerecord-oracle_enhanced-adapter-1.7.0.beta3 lib/activerecord-oracle_enhanced-adapter.rb
activerecord-oracle_enhanced-adapter-1.7.0.beta2 lib/activerecord-oracle_enhanced-adapter.rb
activerecord-oracle_enhanced-adapter-1.7.0.beta1 lib/activerecord-oracle_enhanced-adapter.rb