This is an odd one. I’m looking at a block of params sent through to
one of my controllers. As far as i can tell it works fine in the
controller. However, i wanted to check something so i looked at my log
file (with tail), and copied and pasted the params hash into my rails
BUT: when it comes through, one of the double-quotes is mysteriously
disappearing, which breaks the parsing of the hash. It’s always the
same double quote. I copied it into gedit (i’m in ubuntu 8.04) and it’s
fine. I pasted it into vi as well and it looks fine there too.
I copied it from gedit into the console and got the same problem.
This just seems really random to me - does anyone have an explanation by
BTW i tried it in standard irb and the same thing happens, except that
only the text after the troublesome double-quote symbol comes through.
This isn’t stopping me working or anything but it’s one of those
troubling quirks that will continue to niggle away at me.