Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't undefine object_id

  • Loading branch information...
commit ea712364e202816ce99f53824f01d0aa6f178247 1 parent 3bd3275
Jeremy Kemper jeremy authored
2  activesupport/lib/active_support/deprecation/proxy_wrappers.rb
View
@@ -3,7 +3,7 @@
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.
Please sign in to comment.
Something went wrong with that request. Please try again.