Define legacy unescape for rails