mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Don't undefine object_id
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user