A simple dashboard of records created this week, this month, and all time, mountable as a Rails Engine.
Add gem to
Mount engine (in
YourApp::Application.routes.draw do mount StatBoard::Engine, :at => "/stats"
Configure models (in
StatBoard.models = [User, Post, Comment]
Models can also be listed as strings if you encounter any loading order issues.
StatBoard.title = "YourApp Stats"
StatBoard.username = "user" StatBoard.password = "pass"
Happily accepting contributions to improve StatBoard. To contribute, fork, add your thing, add some specs, and send a pleasantly worded pull request.
StatBoard is released under the MIT License. See MIT-LICENSE for further details.