Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Ruby 2.7 deprecation in helper.rb #454
This is a sibling PR to rails/sprockets#660. This needs to be changed to fix sprockets-rails causing a deprecation warning after the sprockets deprecation warning is fixed.
I've tested this on my Rails app and my test suite passes just fine with this change even if the sprockets change isn't present.
Oddly, this may actually be the only change that's necessary. I don't see any deprecation warning anymore with just this PR, regardless of whether the sprockets change is made or not.