aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-09-28 04:33:20 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-09-28 04:33:59 +0900
commitb23673b4dd399b24bf20edd5d525460fb205459f (patch)
treee3286645820103b2e4fc5b2577a27dbdfd51d9f4 /activerecord
parentae406cd633dab2cafbc0d1bb5922d1ca40056ea0 (diff)
downloadrails-b23673b4dd399b24bf20edd5d525460fb205459f.tar.gz
rails-b23673b4dd399b24bf20edd5d525460fb205459f.tar.bz2
rails-b23673b4dd399b24bf20edd5d525460fb205459f.zip
Revert "record who created the node when $DEBUG is true"
This reverts commit a1b72178714fbf0033fe076b7e51f57eff152bdd.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/arel/nodes/node.rb10
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.