Monitor your server with 3 lines of Ruby

I thought I’d share this snippet, it simply draws a bar chart of the
visitors to your site in the last 24 hours. Great as a poor man’s
solution to monitoring server load.

What is cool is that it does this in 3 lines of RoR and without using
any plugins (it uses Google’s free chart API to do the heavy lifting).
So just add this to one of your admin pages and you’re off

ps. I’m not looking for any prizes on coding clarity; but it’s just
awesome you can do something like this in such a tiny snippet