Our great sponsors
Rails Event Store
A Ruby implementation of an Event Store based on Active Record
If you need something actually structured, you could use an Event Store
Simple, powerful, first-party analytics for Rails
Ahoy may be worth a try https://github.com/ankane/ahoy
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Simple, easily customised trigger-based auditing for PostgreSQL (Postgres). See also pgaudit.
If that really won't do it for you, you can try to do something lower level using postgres triggers and functions. Take a look at https://github.com/2ndQuadrant/audit-trigger as a starting point.
Database changes log for Rails
Have you considered https://github.com/palkan/logidze ?
Best rails tools to automatically handle logging of things like all a user's actions, or changes to a record in a module - primarily for audit purposes.
4 projects | reddit.com/r/rails | 9 Mar 2023
Accessing point in time data when data changes over time
3 projects | reddit.com/r/rails | 12 Aug 2022
Temporality/time-travelling in DB with ActiveRecord?
3 projects | reddit.com/r/rubyonrails | 16 May 2022
Looking for an observer gem
5 projects | reddit.com/r/rails | 7 Apr 2022
`method_missing': undefined method `has_paper_trail'
2 projects | reddit.com/r/ruby | 18 Mar 2022