aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-07-30 10:50:18 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-07-30 10:50:18 -0300
commit4ac81de52fbcdabc68f6d1fa8a5ee9ff7fff7df1 (patch)
treea38f46f73474d530f3c701cb9e8bc836efdcdb21 /activerecord/lib
parent8601f733af3311e3b0ebb1f517432593c9b0fedd (diff)
downloadrails-4ac81de52fbcdabc68f6d1fa8a5ee9ff7fff7df1.tar.gz
rails-4ac81de52fbcdabc68f6d1fa8a5ee9ff7fff7df1.tar.bz2
rails-4ac81de52fbcdabc68f6d1fa8a5ee9ff7fff7df1.zip
Remove the deprecation of update_column.
update_column was suggested as replacement of update_attribute at the last release of 3-2-stable, so deprecating it now will confuse the users.
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/persistence.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb
index 569ef4bcda..32b62d12e1 100644
--- a/activerecord/lib/active_record/persistence.rb
+++ b/activerecord/lib/active_record/persistence.rb
@@ -204,11 +204,6 @@ module ActiveRecord
# Raises an +ActiveRecordError+ when called on new objects, or when the +name+
# attribute is marked as readonly.
def update_column(name, value)
- msg = "update_column is deprecated and will be removed in 4.1. Please use update_columns. " \
- "E.g. update_columns(foo: 'bar')"
-
- ActiveSupport::Deprecation.warn(msg)
-
update_columns(name => value)
end