Rails engine to generate instant reports from adhoc SQL query.