optimize string literals in erb templates