Sample rails app showing use of crosstabs for reporting.