Skip to content
Browse files

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
  • Loading branch information...
1 parent 7858a32 commit b94f8e1d296c372e192cf0f4b9cc94dba9deff12 @jeremy jeremy committed Jun 11, 2007
Showing with 0 additions and 12 deletions.
  1. +0 −12 activerecord/lib/active_record/base.rb
View
12 activerecord/lib/active_record/base.rb
@@ -911,11 +911,6 @@ def quote_value(value, column = nil) #: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 <tt>connection.quote</tt>.
def sanitize(object) #:nodoc:
connection.quote(object)
@@ -2207,13 +2202,6 @@ def quote_value(value, column = nil)
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)

0 comments on commit b94f8e1

Please sign in to comment.
Something went wrong with that request. Please try again.