What is the best for to do reports in Rails ?

Someone else mentioned JasperReports which is probably the best choice if you already have reports written or would prefer to define your reports in XML. Ruport is a pretty low level toolset, but many of our users are pretty happy with it, especially because we make integration with ActiveRecord pretty easy via acts_as_reportable.

I would not recommend using PDF::Writer directly for anything at this point. Even if you don't use any other functionality in ruport, our Formatter::PDF adds interface improvements while fixing a number of serious issues in PDF::Writer at the same time. Most of these patches came from Austin, but do not exist in the released PDF::Writer code. (Memory patches, bug fixes, etc)

It really depends on what you're trying to do and how much you want to roll up your sleeves. Searching through the Ruport archives for Rails might prove helpful, and if you have any questions, just let us know on the list. (http://list.rubyreports.org)

-greg

By the way, if there is sufficient interest, we can think about moving these patches into their own gem, like pdf_writer_fixes or something of the like...

Why not fork PDF::Writer if you can't get the original maintained. It would be useful to have a PDF system that worked cleanly with Rails.

You wouldn't be the first, second, or third to suggest that we do that. We don't really want the added responsibility and are trying to be diplomatic about it. We've even tried to find a maintainer to work with Austin, but things are moving very slowly. If a fork happens, we'd be willing to patch back all the stuff that's in Ruport, though.