Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

rename private method to avoid overriding #7862

Merged
merged 1 commit into from

3 participants

@frodsan

No description provided.

@spastorino spastorino merged commit 05e9258 into rails:master
@rafaelfranca
Owner

:heart:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 6, 2012
  1. rename private method to avoid overriding

    Francesco Rodriguez authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/backtrace_cleaner.rb
View
4 activesupport/lib/active_support/backtrace_cleaner.rb
@@ -34,7 +34,7 @@ def initialize
# Returns the backtrace after all filters and silencers have been run
# against it. Filters run first, then silencers.
def clean(backtrace, kind = :silent)
- filtered = filter(backtrace)
+ filtered = filter_backtrace(backtrace)
case kind
when :silent
@@ -77,7 +77,7 @@ def remove_filters!
end
private
- def filter(backtrace)
+ def filter_backtrace(backtrace)
@filters.each do |f|
backtrace = backtrace.map { |line| f.call(line) }
end
Something went wrong with that request. Please try again.