diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-06-11 08:06:07 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-06-11 08:06:07 +0000 |
commit | b94f8e1d296c372e192cf0f4b9cc94dba9deff12 (patch) | |
tree | 0376da90cffe74ae443a0115ce1bbe988fd838a5 /activerecord/lib | |
parent | 7858a32e1b2e5a64b0ef774530f0d80a588ed8f3 (diff) | |
download | rails-b94f8e1d296c372e192cf0f4b9cc94dba9deff12.tar.gz rails-b94f8e1d296c372e192cf0f4b9cc94dba9deff12.tar.bz2 rails-b94f8e1d296c372e192cf0f4b9cc94dba9deff12.zip |
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
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 12 |
1 files changed, 0 insertions, 12 deletions
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 <tt>connection.quote</tt>. 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) |