Sha256: e44c3d0116d4d0530e459d580f0f63186321ace8d9e302f194b65f2c9a559083
Contents?: true
Size: 726 Bytes
Versions: 7
Compression:
Stored size: 726 Bytes
Contents
# define railtie which will be executed in Rails 3 if defined?(::Rails::Railtie) 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 end
Version data entries
7 entries across 7 versions & 2 rubygems