diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-04-22 20:46:57 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-04-22 20:46:57 +0530 |
commit | da4db35acda825828809902e9bcccae020454ccb (patch) | |
tree | 6331154746989e40a28b60699613c720ee5c0aef /activesupport | |
parent | f95b06f96faa009b7d2523c3c244ca6d8512e373 (diff) | |
download | rails-da4db35acda825828809902e9bcccae020454ccb.tar.gz rails-da4db35acda825828809902e9bcccae020454ccb.tar.bz2 rails-da4db35acda825828809902e9bcccae020454ccb.zip |
remove redundant variable
Diffstat (limited to 'activesupport')
-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 |