[LRUG] Using statistical tables with Rails

Roland Swingler roland.swingler at gmail.com
Fri Sep 23 04:04:54 PDT 2011


General recommendation for this sort of reporting-type thing would be
to always make sure that you have the raw, row level data in addition
to aggregate data, because otherwise you'll inevitably run into a
situation where you wish you'd kept the data at a finer level of
granularity.

You might want to check out using a library like Sequel for these sort
of queries, and using just the dataset methods rather than the
ActiveRecord-style ORM built on top of that.

R



More information about the Chat mailing list