DatabaseConsistency
Database Cleaner
Our great sponsors
DatabaseConsistency | Database Cleaner | |
---|---|---|
8 | 3 | |
981 | 2,913 | |
- | 0.2% | |
7.5 | 0.0 | |
4 months ago | 4 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
Database Cleaner
-
How a big application is usually tested regarding to its database data persistence? Also, tip on starting tests on existing codebase.
i'll introduce the gem https://github.com/DatabaseCleaner/database_cleaner.
- Como configurar ambiente de testes em Ruby on Rails com RSpec
-
10 Signs of a good Ruby on Rails Developer
If your are using gems like faker , factory_bot_rails and database_cleaner to create and clean test records then creating unnecessary records can cost you time and speed.
What are some alternatives?
QueryTrack - Find time-consuming database queries for ActiveRecord-based RailsĀ Apps
PgHero - A performance dashboard for Postgres
DatabaseValidations - Database validations for ActiveRecord
Seed dump - Rails 4/5 task to dump your data to db/seeds.rb
Scenic - Versioned database views for Rails
Seed Fu - Advanced seed data handling for Rails, combining the best practices of several methods together.
BatchLoader - :zap: Powerful tool for avoiding N+1 DB or HTTP queries
Squasher - Squasher - squash your old migrations in a single command
Blazer - Business intelligence made simple
SecondBase - Seamless second database integration for Rails.
Foreigner - Adds foreign key helpers to migrations and correctly dumps foreign keys to schema.rb