audit-trigger
Logidze
Our great sponsors
audit-trigger | Logidze | |
---|---|---|
4 | 6 | |
649 | 1,556 | |
0.9% | - | |
2.6 | 5.5 | |
8 months ago | about 2 months ago | |
PLpgSQL | Ruby | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
audit-trigger
-
How would you build an audit log in Rails for a high-throughput API?
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.
-
Postgres Auditing in 150 lines of SQL
Related project: https://github.com/2ndQuadrant/audit-trigger
Logidze
-
Versioning data in Postgres? Testing a Git like approach
There's an interesting approach to it that works with Rails and PostgreSQL using triggers.
https://github.com/palkan/logidze
- Database changes log for Rails
-
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.
https://github.com/palkan/logidze is my favorite for these kind of things
-
How would you build an audit log in Rails for a high-throughput API?
Have you considered https://github.com/palkan/logidze ?
- Temporality/time-travelling in DB with ActiveRecord?
-
Is it a terrible idea to manually create a table in a MySQL database generated by a rails model?
Something like this might be an option? https://github.com/palkan/logidze
What are some alternatives?
supa_audit - Generic Table Auditing
PaperTrail - Track changes to your rails models
sirix - SirixDB is an an embeddable, bitemporal, append-only database system and event store, storing immutable lightweight snapshots. It keeps the full history of each resource. Every commit stores a space-efficient snapshot through structural sharing. It is log-structured and never overwrites data. SirixDB uses a novel page-level versioning approach.
Audited - Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
audit-trigger - Simple, easily customised trigger-based auditing for PostgreSQL (Postgres). See also pgaudit.
marginalia - Attach comments to ActiveRecord's SQL queries
pg-history-viewer - QGIS plugin that helps visualize contents of a PostgreSQL audit trigger table
Destroyed At - ActiveRecord Mixin for Safe Destroys
rails_or - Cleaner syntax for writing OR Query in Rails 5, 6. And also add #or support to Rails 3 and 4.
Paranoia - acts_as_paranoid for Rails 5, 6 and 7
mongoid-history - Multi-user non-linear history tracking, auditing, undo, redo for mongoid.
Discard - 🃏🗑 Soft deletes for ActiveRecord done right