From b94f8e1d296c372e192cf0f4b9cc94dba9deff12 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Mon, 11 Jun 2007 08:06:07 +0000 Subject: Remove deprecated quote methods, replaced by quote_value so quote can be used as an attribute name. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/base.rb | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'activerecord/lib/active_record/base.rb') diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index fa34db9c68..2d3ad5a53b 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -911,11 +911,6 @@ module ActiveRecord #:nodoc: connection.quote(value,column) end - def quote(value, column = nil) #:nodoc: - connection.quote(value, column) - end - deprecate :quote => :quote_value - # Used to sanitize objects before they're used in an SELECT SQL-statement. Delegates to connection.quote. def sanitize(object) #:nodoc: connection.quote(object) @@ -2207,13 +2202,6 @@ module ActiveRecord #:nodoc: self.class.connection.quote(value, column) end - # Deprecated, use quote_value - def quote(value, column = nil) - self.class.connection.quote(value, column) - end - deprecate :quote => :quote_value - - # Interpolate custom sql string in instance context. # Optional record argument is meant for custom insert_sql. def interpolate_sql(sql, record = nil) -- cgit v1.2.3