diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-09-28 05:48:40 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-28 05:48:40 +0900 |
commit | 8ad897fdedff6eb09daeb856786f3cc555b5c4e5 (patch) | |
tree | 299698ed13556e98aa026830937cc27936b7bdd1 /activerecord/lib | |
parent | 6a73faa5c4065a77483c1136290f57a4dc3b485a (diff) | |
parent | b23673b4dd399b24bf20edd5d525460fb205459f (diff) | |
download | rails-8ad897fdedff6eb09daeb856786f3cc555b5c4e5.tar.gz rails-8ad897fdedff6eb09daeb856786f3cc555b5c4e5.tar.bz2 rails-8ad897fdedff6eb09daeb856786f3cc555b5c4e5.zip |
Merge pull request #34006 from kamipo/remove_debug_code
Revert "record who created the node when $DEBUG is true"
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/arel/nodes/node.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/activerecord/lib/arel/nodes/node.rb b/activerecord/lib/arel/nodes/node.rb index 2b9b1e9828..8086102bde 100644 --- a/activerecord/lib/arel/nodes/node.rb +++ b/activerecord/lib/arel/nodes/node.rb @@ -8,16 +8,6 @@ module Arel # :nodoc: all include Arel::FactoryMethods include Enumerable - if $DEBUG - def _caller - @caller - end - - def initialize - @caller = caller.dup - end - end - ### # Factory method to create a Nodes::Not node that has the recipient of # the caller as a child. |