DatabaseConsistency
ArLazyPreload
Our great sponsors
DatabaseConsistency | ArLazyPreload | |
---|---|---|
8 | 3 | |
981 | 640 | |
- | - | |
7.5 | 5.7 | |
4 months ago | about 2 months 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.
DatabaseConsistency
-
Uniqueness validation does not work since the beginning of Ruby on Rails.
DatabaseConsistency is a tool to avoid various issues due to inconsistencies and inefficiencies between a database schema and application models.
-
Many of us can face issues working with ActiveRecord due to its inconsistency with the database schema. That's why I have built database_consistency, which can help you avoid the most common issues and improve your application's performance.
Yes, the gem supports flexible configuration and slow start with TODO generation.
-
Enhanced ActiveRecord preloading
Described issues may be found with DatabaseConsistency.
-
N+1 problem will never be an issue with N1Loader gem
Don't know Database Consistency or Factory Trace which can help you to improve your code? Check them out too!
-
Rails application boilerplate for fast MVP development
add database_consistency
-
Any decent packages that enforce database constraints to match application validation?
When coding with ruby I used to use https://github.com/djezzzl/database_consistency
ArLazyPreload
- Proof of Concept: auto-preloading in ActiveRecord
-
Enhanced ActiveRecord preloading
Thank you for sharing this with me! It seems that https://github.com/salsify/goldiloader gem does the same as https://github.com/DmitryTsepelev/ar_lazy_preload. It would be great to compare both solutions.
What are some alternatives?
QueryTrack - Find time-consuming database queries for ActiveRecord-based Rails Apps
n1_loader - Loader to solve N+1 issues for good. Highly recommended for GraphQL API.
DatabaseValidations - Database validations for ActiveRecord
Acts As Votable - Votable ActiveRecord for Rails
Scenic - Versioned database views for Rails
enummer - 🏳️🌈 Multi enums (aka flags) for Rails
BatchLoader - :zap: Powerful tool for avoiding N+1 DB or HTTP queries
Acts As Commentable - The ActiveRecord acts_as_commentable plugin
Blazer - Business intelligence made simple
ActsAsTree - ActsAsTree -- Extends ActiveRecord to add simple support for organizing items into parent–children relationships.
Foreigner - Adds foreign key helpers to migrations and correctly dumps foreign keys to schema.rb
activerecord-multi-tenant - Rails/ActiveRecord support for distributed multi-tenant databases like Postgres+Citus