customized rails template