From b23673b4dd399b24bf20edd5d525460fb205459f Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 28 Sep 2018 04:33:20 +0900 Subject: Revert "record who created the node when $DEBUG is true" This reverts commit a1b72178714fbf0033fe076b7e51f57eff152bdd. --- activerecord/lib/arel/nodes/node.rb | 10 ---------- 1 file changed, 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. -- cgit v1.2.3