Your friends at Viget present Extend, a Code & Technology Blog

Simple App Stats with StatBoard

We build a lot of small apps here at Viget as part of Pointless Corp, like SpeakerRate, OfficeGames, and BabyBookie. It’s fun to track how many people are using them, and rather than write yet another Rakefile to generate reports, I decided to create a simple Rails Engine to display some basic stats. Announcing, then, StatBoard:

Installation is a cinch: add the gem to your Gemfile, mount the app in routes.rb, and set the models to query (full instructions available on the GitHub page). The code itself is embarrassingly simple, so if you have any ideas for improvements, or just want to see how a simple Rails Engine works, take a look.


Get More From Viget

Subscribe to get our monthly newsletter and occasional special announcements.