Forum How do I...?

How do I pass http get parameters to prince

chenxee
hi, i found prince is very useful to me. my project is using ruby on rails, i need to generate some PDF documents based on some rails pages. thanks to http://www.nullislove.com/2007/05/30/easy-pdfs-from-rails/ and http://sublog.subimage.com/articles/2007/05/29/html-css-to-pdf-using-ruby-on-rails i am able to get PDF now.

my problem is, i need to generate pdf based on some dynamic contents. for ex. i can pass '/report/test' to helper, but i cant pass '/report/test?ok=12345', rails complains template missing, but 12345 is what i want to display in PDF for dynamic contents.

thanks in adv for any hints
mikeday
It might be worth asking this question on a Rails forum as well, where there are likely to be more people with experience in Rails to answer your question.