Simple analytics engine for rails