diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-04-22 08:19:29 -0700 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-04-22 08:19:29 -0700 |
commit | ee0d0eb07d259379d5b426e77afe01d168f353d4 (patch) | |
tree | d8c7c9e0a9f1a2228a5a62e88f29feea29e87a42 | |
parent | 0fea87c49fd43a2f0d1a0eb66333a189b39afcc8 (diff) | |
parent | da4db35acda825828809902e9bcccae020454ccb (diff) | |
download | rails-ee0d0eb07d259379d5b426e77afe01d168f353d4.tar.gz rails-ee0d0eb07d259379d5b426e77afe01d168f353d4.tar.bz2 rails-ee0d0eb07d259379d5b426e77afe01d168f353d4.zip |
Merge pull request #10302 from vipulnsward/remove_redundant_var
Remove redundant variable
-rw-r--r-- | activesupport/lib/active_support/callbacks.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index f95bae580c..2f9247a77b 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -133,8 +133,6 @@ module ActiveSupport end def matches?(_kind, _filter) - _filter_matches = false - if @_is_object_filter _filter_matches = @filter.to_s.start_with?(_method_name_for_object_filter(_kind, _filter, false)) else |