RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

*NEW GEM* ActsAsActive: Plug-and-play activity tracking for ActiveRecord

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.

GitHub: https://github.com/amitleshed/ActsAsActive

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in