template.pdf fix in examples and requires active_support