提交 a7178773 编写于 作者: E Emilio Tagua

Remove now unused quote_table_name, ARel does that quoting now.

上级 d5476b46
......@@ -3103,13 +3103,6 @@ def comma_pair_list(hash)
hash.inject([]) { |list, pair| list << "#{pair.first} = #{pair.last}" }.join(", ")
end
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
def self.quoted_table_name
self.connection.quote_table_name(self.table_name)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册