activerecord-slotted_counters
Rails PG Extras
Our great sponsors
activerecord-slotted_counters | Rails PG Extras | |
---|---|---|
1 | 10 | |
68 | 941 | |
- | - | |
10.0 | 6.4 | |
2 months ago | 12 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)
Rails PG Extras
-
Best way to learn query optimization?
https://github.com/pawurb/rails-pg-extras is useful for identifying slow queries and generally things that could make queries slow.
What are some alternatives?
Enumerize - Enumerated attributes with I18n and ActiveRecord/Mongoid support
Apartment - Database multi-tenancy for Rack (and Rails) applications
Awesome Nested Set - An awesome replacement for acts_as_nested_set and better_nested_set.
Closure Tree - Easily and efficiently make your ActiveRecord models support hierarchies
marginalia - Attach comments to ActiveRecord's SQL queries
ActsAsList - An ActiveRecord plugin for managing lists.
mongoid-history - Multi-user non-linear history tracking, auditing, undo, redo for mongoid.
Audited - Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
dry-validation - Validation library with type-safe schemas and rules
Paranoia - acts_as_paranoid for Rails 5, 6 and 7
Acts As Commentable with Threading - Similar to acts_as_commentable; however, utilizes awesome_nested_set to provide threaded comments
ActiveRecord Import - A library for bulk insertion of data into your database using ActiveRecord.