diff options
Diffstat (limited to 'activesupport/lib/active_support/core_ext/string/encoding.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/encoding.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/encoding.rb b/activesupport/lib/active_support/core_ext/string/encoding.rb index dc635ed6a5..a583b914db 100644 --- a/activesupport/lib/active_support/core_ext/string/encoding.rb +++ b/activesupport/lib/active_support/core_ext/string/encoding.rb @@ -2,7 +2,7 @@ require 'active_support/deprecation' class String def encoding_aware? - ActiveSupport::Deprecation.warn 'String#encoding_aware? is deprecated', caller + ActiveSupport::Deprecation.warn 'String#encoding_aware? is deprecated' true end end |