Day

November 20, 2011
I wanted to add a specific anchor in a link_to()โ€™s URL in rails. This should have been a simple task, but it was quite a headache since the hash kept getting escaped into the โ€œ%23โ€ code. I tried unescaping the html string using HAMLโ€™s filters, to no avail. I also tried various forms of interpolation...
Read More