Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecation warning uses it. It lives in active_support/core_ext/string/filters.rb but it's never required.
active_support/core_ext/string/filters.rb
~/code/ruby/class2 >ruby -ractive_support/version -e'p ActiveSupport.version' #<Gem::Version "6.0.2.2">
~/code/ruby/class2 >ruby -ractive_support/core_ext/module -e'Module.new.parent_name' Traceback (most recent call last): 1: from -e:1:in `<main>' /Users/sshaw/.rvm/gems/ruby-2.5.2/gems/activesupport-6.0.2.2/lib/active_support/core_ext/module/introspection.rb:20:in `parent_name': undefined method `squish' for #<String:0x00007fbd819c8510> (NoMethodError)
Deprication warning
NoMethodError
Rails version: NA
Ruby version: 2.5.2
The text was updated successfully, but these errors were encountered:
This applies to Module.parent and Module.parent_name
Module.parent
Module.parent_name
Sorry, something went wrong.
358ac36
Thanks!
adds missing require [Fixes #39042]
02d07cc
No branches or pull requests
Deprecation warning uses it. It lives in
active_support/core_ext/string/filters.rb
but it's never required.Steps to reproduce
Expected behavior
Deprication warning
Actual behavior
NoMethodError
System configuration
Rails version: NA
Ruby version: 2.5.2
The text was updated successfully, but these errors were encountered: