1 module ActiveRecord #:nodoc:
2 module ConnectionAdapters #:nodoc:
3 module OracleEnhancedCpk #:nodoc:
5 # This mightn't be in Core, but count(distinct x,y) doesn't work for me.
6 # Return that not supported if composite_primary_keys gem is required.
7 def supports_count_distinct? #:nodoc:
8 @supports_count_distinct ||= ! defined?(CompositePrimaryKeys)
11 def concat(*columns) #:nodoc:
12 "(#{columns.join('||')})"
19 ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.class_eval do
20 include ActiveRecord::ConnectionAdapters::OracleEnhancedCpk