base templates for ruby