Sha256: 6c2e275e6c69454689d68d9b1cf6a346119e621921ff3f0372132ae09683e5aa
Contents?: true
Size: 628 Bytes
Versions: 21
Compression:
Stored size: 628 Bytes
Contents
module ActiveRecord #:nodoc: module ConnectionAdapters #:nodoc: module OracleEnhancedCpk #:nodoc: # This mightn't be in Core, but count(distinct x,y) doesn't work for me # RSI: return that not supported if composite_primary_keys gem is required def supports_count_distinct? #:nodoc: @supports_count_distinct ||= ! defined?(CompositePrimaryKeys) end def concat(*columns) "(#{columns.join('||')})" end end end end ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.class_eval do include ActiveRecord::ConnectionAdapters::OracleEnhancedCpk end
Version data entries
21 entries across 21 versions & 6 rubygems
Version | Path |
---|---|
activerecord-oracle_enhanced-adapter-1.2.0 | lib/active_record/connection_adapters/oracle_enhanced_cpk.rb |