create pdf out of rails

a small internal web app used at a company for event administration. event data is input in to a database via a web form, out of this a html form for event registration for users already registered in the companies contact database. Also needed is a simple way to generate a pdf invitation out of the rails model data, without needing to create an extra document in a word processor or similiar...
1 answer


use pdf:writer gem:

pdf =
pdf.select_font "Times-Roman"
pdf.text "Halli hallo!", :font_size => 72, :justification => :center