From a75f66f7e6909d331f1dc39efd1827bde6e53500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Wed, 24 Feb 2016 10:55:53 -0300 Subject: :bomb: run the test @rafaelfranca :angry: --- activesupport/lib/active_support/deprecation/reporting.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/deprecation/reporting.rb b/activesupport/lib/active_support/deprecation/reporting.rb index e25b2b02e4..35f084dd7a 100644 --- a/activesupport/lib/active_support/deprecation/reporting.rb +++ b/activesupport/lib/active_support/deprecation/reporting.rb @@ -92,7 +92,7 @@ module ActiveSupport def _extract_callstack(callstack) warn "Please pass `caller_locations` to the deprecation API" if $VERBOSE - offending_line = callstack.find { |line| !ignored_callstack(path) } || callstack.first + offending_line = callstack.find { |line| !ignored_callstack(line) } || callstack.first if offending_line if md = offending_line.match(/^(.+?):(\d+)(?::in `(.*?)')?/) -- cgit v1.2.3