Complete rails app that exports SQL queries to Excel files.