ActiveRecord::DataIntegrity
Database Cleaner

ActiveRecord::DataIntegrity | Database Cleaner | |
---|---|---|
- | 3 | |
10 | 2,935 | |
- | -0.1% | |
0.0 | 4.4 | |
over 2 years ago | 3 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.
ActiveRecord::DataIntegrity
We haven't tracked posts mentioning ActiveRecord::DataIntegrity yet.
Tracking mentions began in Dec 2020.
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?
Squasher - Squasher - squash your old migrations in a single command
PgHero - A performance dashboard for Postgres
PgDriveBackup - Simple solution to make encrypted with ccrypt PostgreSQL backups and storing on Google Drive API
Upsert - Upsert on MySQL, PostgreSQL, and SQLite3. Transparently creates functions (UDF) for MySQL and PostgreSQL; on SQLite3, uses INSERT OR IGNORE.
Seed dump - Rails 4/5 task to dump your data to db/seeds.rb
BatchLoader - :zap: Powerful tool for avoiding N+1 DB or HTTP queries
active_record_doctor - Identify database issues before they hit production.
Seed Fu - Advanced seed data handling for Rails, combining the best practices of several methods together.
Lol DBA - lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.
SecondBase - Seamless second database integration for Rails.
