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:
commit
8ad897fded
1 changed files with 0 additions and 10 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue