Skip to content

Commit

Permalink
remove redundant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
vipulnsward committed Apr 22, 2013
1 parent f95b06f commit da4db35
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions activesupport/lib/active_support/callbacks.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ def next_id
end end


def matches?(_kind, _filter) def matches?(_kind, _filter)
_filter_matches = false

if @_is_object_filter if @_is_object_filter
_filter_matches = @filter.to_s.start_with?(_method_name_for_object_filter(_kind, _filter, false)) _filter_matches = @filter.to_s.start_with?(_method_name_for_object_filter(_kind, _filter, false))
else else
Expand Down

0 comments on commit da4db35

Please sign in to comment.