I was wondering if anyone had any tips for doing data reporting with ActiveRecord. I have a large amount of freeway data that is structured in a tree structure with table for each level freeway -> collection site -> collection point -> data session -> data records (freeway has many sites, sites have many collection points, etc) Anyways, I want to be able to aggregate the statistics about the data records collected up to any level. Right now this involves tons of custom queries and has to work around ActiveRecord, does anyone have any ideas or know of any tricks for providing reporting data? .adam sanderson _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails