From 8d91716358e8cb3e8a662316a442d1de0685a48f Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Thu, 11 May 2017 08:24:37 +0200 Subject: [PATCH] replace deprecated method --- lib/report/query_utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/report/query_utils.rb b/lib/report/query_utils.rb index a9d49e9947..3d86243b9d 100644 --- a/lib/report/query_utils.rb +++ b/lib/report/query_utils.rb @@ -37,7 +37,7 @@ module Report::QueryUtils end def propagate!(to = engine) - to.local_constants.each do |name| + to.constants(false).each do |name| const = to.const_get name next unless Module === const append_features const unless const <= self or not const < Report::QueryUtils