aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-04-22 20:46:57 +0530
committerVipul A M <vipulnsward@gmail.com>2013-04-22 20:46:57 +0530
commitda4db35acda825828809902e9bcccae020454ccb (patch)
tree6331154746989e40a28b60699613c720ee5c0aef /activesupport/lib/active_support
parentf95b06f96faa009b7d2523c3c244ca6d8512e373 (diff)
downloadrails-da4db35acda825828809902e9bcccae020454ccb.tar.gz
rails-da4db35acda825828809902e9bcccae020454ccb.tar.bz2
rails-da4db35acda825828809902e9bcccae020454ccb.zip
remove redundant variable
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r--activesupport/lib/active_support/callbacks.rb2
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