Sha256: 7bca214a512ed8b6df4cf39e9b4c6efd2582eca57b820d58a67257ad49f5307e
Contents?: true
Size: 661 Bytes
Versions: 4
Compression:
Stored size: 661 Bytes
Contents
if defined?(Rails) 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
4 entries across 4 versions & 1 rubygems