Reporting tool


i would like to make a (simple) reporting tool in ruby on rails.

-user management system with rights to use the reports.
-menu with many submenus
-reports with parameters for the used sql
-export to excel

does anyone know a good approach to this issue?
or perhaps there already exists a reporting tool like this in ruby on