Sha256: e9fbb5e2d06714a681025621b389f8dfcf169122e370c9f32e567703e1e3a70e

Contents?: true

Size: 242 Bytes

Versions: 16

Compression:

Stored size: 242 Bytes

Contents

module ActiveRecord
  module ConnectionAdapters
    class AbstractAdapter
      def quote_column_names(name)
        Array(name).map do |col|
          quote_column_name(col.to_s)
        end.to_composite_keys.to_s
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
composite_primary_keys-14.0.9 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-14.0.8 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-13.0.8 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-14.0.7 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-14.0.6 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-13.0.7 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-13.0.6 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-14.0.5 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-13.0.5 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-13.0.4 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-14.0.4 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-14.0.3 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-13.0.3 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-14.0.2 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-13.0.2 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb
composite_primary_keys-14.0.1 lib/composite_primary_keys/connection_adapters/abstract_adapter.rb