SHOW HN: ActsAsActive: Plug-and-play activity tracking for ActiveRecord
1 AmitleshedNY 1 8/19/2025, 4:21:08 PM github.com ↗
Comments (1)
AmitleshedNY · 3h ago
ActsAsActive is a plug-and-play Rails extension that adds activity tracking to any model. It wires a polymorphic association and records Activity rows on the lifecycle events you choose, then surfaces daily counts, streak analytics, and heatmap-friendly data. Works with PostgreSQL or MySQL/SQLite and ships with a metadata column for extra context—plus a namespaced model (ActsAsActive::Activity) and generators so you can set it up in seconds. Feedback and PRs welcome.