aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-04-26 15:56:08 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-04-26 15:56:08 -0700
commitea712364e202816ce99f53824f01d0aa6f178247 (patch)
treef81249fca8d88ce5001f3425bb786b74b6c81521 /activesupport/lib
parent3bd32754e24c4894abd2316eb0be3aeed08cf906 (diff)
downloadrails-ea712364e202816ce99f53824f01d0aa6f178247.tar.gz
rails-ea712364e202816ce99f53824f01d0aa6f178247.tar.bz2
rails-ea712364e202816ce99f53824f01d0aa6f178247.zip
Don't undefine object_id
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/deprecation/proxy_wrappers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/deprecation/proxy_wrappers.rb b/activesupport/lib/active_support/deprecation/proxy_wrappers.rb
index ec54efe08e..dec56715be 100644
--- a/activesupport/lib/active_support/deprecation/proxy_wrappers.rb
+++ b/activesupport/lib/active_support/deprecation/proxy_wrappers.rb
@@ -3,7 +3,7 @@ require 'active_support/inflector'
module ActiveSupport
module Deprecation
class DeprecationProxy #:nodoc:
- instance_methods.each { |m| undef_method m unless m =~ /^__/ }
+ instance_methods.each { |m| undef_method m unless m =~ /^__|^object_id$/ }
# Don't give a deprecation warning on inspect since test/unit and error
# logs rely on it for diagnostics.