template.concat fixes for rails 2.3