use templates and embedded ruby content