Database Cleaner
Seed dump
Our great sponsors
Database Cleaner | Seed dump | |
---|---|---|
3 | 2 | |
2,914 | 1,393 | |
0.2% | - | |
0.0 | 0.0 | |
4 months ago | 6 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.
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.
Seed dump
-
Rails - A Hidden Gem: Seed Dump
During the testing of this functionality, you're adding data to your database. Rather than resetting your database, what if you utilized the information you entered? What if this is how you could build your seed file, rather than creating it from scratch? Or what if you do some testing and just want to add a couple of live examples to your seed file? Enter Seed Dump.
- Quick question about the local PostgreSQL database when you deploy your app to production.
What are some alternatives?
PgHero - A performance dashboard for Postgres
Seed Fu - Advanced seed data handling for Rails, combining the best practices of several methods together.
Seedbank - Seedbank gives your seed data a little structure. Create seeds for each environment, share seeds between environments and specify dependencies to load your seeds in order. All nicely integrated with simple rake tasks.
Squasher - Squasher - squash your old migrations in a single command
Rails DB - Rails Database Viewer and SQL Query Runner
SecondBase - Seamless second database integration for Rails.
Upsert - Upsert on MySQL, PostgreSQL, and SQLite3. Transparently creates functions (UDF) for MySQL and PostgreSQL; on SQLite3, uses INSERT OR IGNORE.
BatchLoader - :zap: Powerful tool for avoiding N+1 DB or HTTP queries
Blazer - Business intelligence made simple
Redis Dashboard - Sinatra app to monitor Redis servers.