-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
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
Can't call escape method on Ruby 3.0.0 #14
Comments
It's intentionally removed at 61c6a47 |
Oh, my gosh. I use Middleman 4.3, which uses Is there an alternative? |
|
Use While you are waiting for Middleman to be updated you could always monkeypatch the escape method in URI to use CGI.escape instead. |
In case somebody else stumbles uppon this, using the latest github version of middleman instead of the default version fixed this for me. In your
|
|
URI deprecated the escape method on updating to Ruby 3.0.0. See ruby/uri#14
URI deprecated the escape method on updating to Ruby 3.0.0. See ruby/uri#14
URI deprecated the escape method on updating to Ruby 3.0.0. See ruby/uri#14
URI deprecated the escape method on updating to Ruby 3.0.0. See ruby/uri#14
URI deprecated the escape method on updating to Ruby 3.0.0. See ruby/uri#14
URI deprecated the escape method on updating to Ruby 3.0.0. See ruby/uri#14
yes method is missing in ruby 3.1.2 also solution is do a monkey patching.
|
According to this issue: ruby/uri#14
From this ruby issue https://bugs.ruby-lang.org/issues/17309 , this is how you can get the same behavior as the obseleted method: |
I can't call
escape
method ofURI
on Ruby 3.0.0 as follows:I feel it has some problems.
The text was updated successfully, but these errors were encountered: