1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #34006 from kamipo/remove_debug_code

Revert "record who created the node when $DEBUG is true"
This commit is contained in:
Ryuta Kamizono 2018-09-28 05:48:40 +09:00 committed by GitHub
commit 8ad897fded
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,16 +8,6 @@ module Arel # :nodoc: all
include Arel::FactoryMethods include Arel::FactoryMethods
include Enumerable 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 # Factory method to create a Nodes::Not node that has the recipient of
# the caller as a child. # the caller as a child.