Insert Variables into


I wrote a small application for a temporary employment company so that they can insert the timestamps and also note the companies for which their employees are currently working. Because it is a web app the application is usable from the field and also from the office locations.

The contracts have been created by using a very old and unmaintained software that allowed them to fill a template with the correct fields. I was asked if I would be able to move the task of writing the contracts to the rails application I programmed.

What I need is a system that allows me to define various text templates. And later use those templates and combine them with the employee data to produce a correct contract.

After googling around I found out that I can produce nicely formatted PDFs using ruby. But does there exist something that allows me to create templates? I was not able to find such a plugin

thanks in Advance for your assistance Paul