Skip to content

Commit

Permalink
Remove now unused quote_table_name, ARel does that quoting now.
Browse files Browse the repository at this point in the history
  • Loading branch information
miloops committed Aug 18, 2009
1 parent d5476b4 commit a717877
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions activerecord/lib/active_record/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a717877

Please sign in to comment.