The stats gem is a simple way to keep track of different statistics using Redis.
Matt Duncan
gem "stats", "~> 0.2.0"