Method: ActiveRecord::ConnectionAdapters::PostgreSQL::Quoting#quote_column_name

Defined in:
lib/active_record/connection_adapters/postgresql/quoting.rb

#quote_column_name(name) ⇒ Object

Quotes column names for use in SQL queries.



100
101
102
# File 'lib/active_record/connection_adapters/postgresql/quoting.rb', line 100

def quote_column_name(name) # :nodoc:
  QUOTED_COLUMN_NAMES[name] ||= PG::Connection.quote_ident(super).freeze
end