Permalink
Browse files

replace apostrophe with backquote for matching [ci skip]

  • Loading branch information...
melekes committed May 3, 2013
1 parent 2b5d1a0 commit 0e8a3bc8ae8f462b54e088778b604b3fbdb32c53
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/callbacks.rb
@@ -136,7 +136,7 @@ def matches?(_kind, _filter)
if @_is_object_filter
_filter_matches = @filter.to_s.start_with?(_method_name_for_object_filter(_kind, _filter, false))
else
- _filter_matches = (@filter == _filter)
+ _filter_matches = (@filter == _filter)
end
@kind == _kind && _filter_matches
@@ -198,7 +198,7 @@ def apply(code)
# Compile around filters with conditions into proxy methods
# that contain the conditions.
#
- # For `set_callback :save, :around, :filter_name, if: :condition':
+ # For `set_callback :save, :around, :filter_name, if: :condition`:
#
# def _conditional_callback_save_17
# if condition

0 comments on commit 0e8a3bc

Please sign in to comment.