I stumbled upon this when I was trying store URL in a Hash’s key to use inside a loop. The text editor (IDE) warned me and I was shocked I did I do?
# Try this in IRB a = '\organization\12\' # I believe you got in trouble # You need to do like a = '\organization\12\\'
Why is this happening?
Ruby treats as if you are trying to print the singlequote char. It thinks it as a escape sequence