Class: ActiveRecord::ConnectionAdapters::AbstractAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/composite_primary_keys/connection_adapters/abstract_adapter.rb

Instance Method Summary collapse

Instance Method Details

#quote_column_names(name) ⇒ Object



4
5
6
7
8
# File 'lib/composite_primary_keys/connection_adapters/abstract_adapter.rb', line 4

def quote_column_names(name)
  Array(name).map do |col|
    quote_column_name(col.to_s)
  end.to_composite_keys.to_s
end