diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-02-24 10:55:53 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-02-24 10:56:36 -0300 |
commit | a75f66f7e6909d331f1dc39efd1827bde6e53500 (patch) | |
tree | 54de95d84c1cc59b3ddde4b5236280037a01adc7 /activesupport | |
parent | 5a064bec6200fb63832f7143e589879232dafcc4 (diff) | |
download | rails-a75f66f7e6909d331f1dc39efd1827bde6e53500.tar.gz rails-a75f66f7e6909d331f1dc39efd1827bde6e53500.tar.bz2 rails-a75f66f7e6909d331f1dc39efd1827bde6e53500.zip |
:bomb: run the test @rafaelfranca :angry:
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/deprecation/reporting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 `(.*?)')?/) |