If you want to deliver a report in file format, you need to use the
send_data method in the controller.  This causes the user to see the
download  dialog delivering a file for the user to view/save.

How to format the report is another issue.  I use pdf-writer plugin
which allows creation of a pdf file format.  It is a bit fiddly to
use, but is not bad, once you have got your head round how to layout
various elements.  The table format can be a bit limited.  (A new pdf
creator called prawn is under development which).

Tonypm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to