From: Ralf Mueller Date: 2009-09-08T03:49:14+09:00 Subject: Re: FasterCSV (faster_csv) and Question of understanding Dot Baiki wrote: > Dear Experts, > > I got a question for you: I need to produce a Ruby code which does the > following: > > 1. I get a CSV file (more or less like this: > name,id,in,out,ot,ab,x1,x2,x3,x4) > 2. I need to remove some columns (like the x1..x3) > 3. I need to group them per user (in this case either name or id) > 4. I need to add columns like salary (which I have to calculate first) > 5. I need to add a row with the monthly salary > 6. and... a PDF to print this correctly > > And now? Ruby + FasterCSV + ???PDF??? > > Please, do not come up with Ruport because I tried this for 7 days now. > success = 0 > > Are there better solutions (please no Jasper, OpenRPT etc.) > > Regards, > Baiki > I wrote a CSV-handling library for similar purposes (e.g. grouping, extcsv.rubyforge.org). Maybe it's helpfull. In case you use it and run into problems, drop me a line. regards Ralf