Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Ruby 3 - URI.escape #34

Open
charlie-prezzano opened this issue Jan 21, 2021 · 1 comment
Open

Ruby 3 - URI.escape #34

charlie-prezzano opened this issue Jan 21, 2021 · 1 comment

Comments

@charlie-prezzano
Copy link

Not sure if i will find other issues ... but came across this as I upgraded to Ruby 3 (Rails 6.1.1), from Ruby 2.7 (Rails 5.2)

URI.escape is no longer supported. In my search I found that CGI.escape is a substitute; source: https://ruby-doc.org/stdlib-2.4.1/libdoc/uri/rdoc/URI/Escape.html

I have a pull request created.

As this gem has not been updated in ~6 years ... I forked it and made the one line change. This is my first time doing anything like this and unsure if I am doing this the right way, but it is working.

gem 'madmimi', :git => 'https://github.com/charlie-prezzano/madmimi-gem/'

@erez
Copy link

erez commented Nov 7, 2021

Same Problem Here
NoMethodError (undefined method `escape' for URI:Module):

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants