diff options
author | Anton Kalyaev <anton.kalyaev@gmail.com> | 2013-05-03 16:16:01 +0400 |
---|---|---|
committer | Anton Kalyaev <anton.kalyaev@gmail.com> | 2013-05-03 16:16:01 +0400 |
commit | 0e8a3bc8ae8f462b54e088778b604b3fbdb32c53 (patch) | |
tree | 7ac57a710161588145e76232652816be74a08ff9 | |
parent | 2b5d1a086edb87757798a4397ccc64dbc632a2fd (diff) | |
download | rails-0e8a3bc8ae8f462b54e088778b604b3fbdb32c53.tar.gz rails-0e8a3bc8ae8f462b54e088778b604b3fbdb32c53.tar.bz2 rails-0e8a3bc8ae8f462b54e088778b604b3fbdb32c53.zip |
replace apostrophe with backquote for matching [ci skip]
-rw-r--r-- | activesupport/lib/active_support/callbacks.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index 893c2500d7..21f4125a94 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -136,7 +136,7 @@ module ActiveSupport 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 @@ module ActiveSupport # 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 |