correios-cep icon indicating copy to clipboard operation
correios-cep copied to clipboard

Fix error force encoding

Open claudioalcantara opened this issue 2 years ago • 1 comments

I added the dup to fix the error in force encoding for using rails 6

claudioalcantara avatar Sep 13 '21 17:09 claudioalcantara

@claudioalcantara Thank for your PR.

The need to duplicate a string before changing its encoding is a Ruby requirement, not a Rails 6 requirement, right? Do you know from each Ruby version the original string cannot be changed? What Ruby version are you working?

prodis avatar Sep 24 '21 06:09 prodis