instance method
quoted_column_names
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18 PrivateAvailable in: v2.2.3 v2.3.18
Signature
quoted_column_names(attributes = attributes_with_quotes)
No documentation comment.
Parameters
-
attributesopt = attributes_with_quotes
Source
# File activerecord/lib/active_record/base.rb, line 3166
def quoted_column_names(attributes = attributes_with_quotes)
connection = self.class.connection
attributes.keys.collect do |column_name|
connection.quote_column_name(column_name)
end
end
Defined in activerecord/lib/active_record/base.rb line 3166
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Base