activerecord-slotted_counters
Logidze
Our great sponsors
activerecord-slotted_counters | Logidze | |
---|---|---|
1 | 4 | |
68 | 1,366 | |
- | - | |
10.0 | 4.8 | |
2 months ago | 22 days ago | |
Ruby | Ruby | |
MIT License | 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.
activerecord-slotted_counters
-
counter_culture VS activerecord-slotted_counters - a user suggested alternative
2 projects | 29 Nov 2022
Introducing Active Record slotted counters gem—not-so-blocking counter caches for your models! This gem adds slotted counters support to Active Record counter cache. Slotted counters help to reduce contention on a single row update in case you have many concurrent operations (like updating a page views counter during traffic spikes). Details: [here](https://planetscale.com/blog/the-slotted-counter-pattern)
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.
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?
What are some alternatives?
PaperTrail - Track changes to your rails models
Audited - Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
marginalia - Attach comments to ActiveRecord's SQL queries
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
PermenantRecords - Rails Plugin - soft-delete your ActiveRecord records. It's like an explicit version of ActsAsParanoid
time-travel - In-table versioning for time-series data
ActsAsParanoid - ActiveRecord plugin allowing you to hide and restore records without actually deleting them.
Espinita - Audit activerecord models like a boss (and works with rails 4!)