Sha256: 1f456cc8e19b77f72babebb0be704fffc2d9c1eba05802fb753c4f0005e5a79b
Contents?: true
Size: 620 Bytes
Versions: 5
Compression:
Stored size: 620 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. # 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) #:nodoc: "(#{columns.join('||')})" end end end end ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.class_eval do include ActiveRecord::ConnectionAdapters::OracleEnhancedCpk end
Version data entries
5 entries across 5 versions & 1 rubygems