Ruby Plus #70: Extremely Simple PDF Generation in Rails using HTMLDOC
In this episode you will see how to use HTML doc gem to create pdf documents that is very easy to create in your Rails 2.0 apps in a RESTful way. I will throw in a very useful tip on how to debug issues in your production environment using log files.
The download includes instructions for compiling and installing HTMLDOC. Note: I think if you define map.resource :product in routes.rb, you might be able to make it work without using plural map.resources declaration.