Database Cleaner
rubocop
Our great sponsors
Database Cleaner | rubocop | |
---|---|---|
3 | 1 | |
2,913 | 11,374 | |
0.2% | - | |
0.0 | 9.8 | |
4 months ago | about 3 years 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.
rubocop
-
10 Signs of a good Ruby on Rails Developer
Maintainable with smaller methods, less complexity – To know more on this make a habit of using code analyzer like rubocop, Code Climate
What are some alternatives?
PgHero - A performance dashboard for Postgres
factory_bot_rails - Factory Bot ♥ Rails
Seed dump - Rails 4/5 task to dump your data to db/seeds.rb
dotenv - A Ruby gem to load environment variables from `.env`.
Seed Fu - Advanced seed data handling for Rails, combining the best practices of several methods together.
terraform-provider-rollbar - Terraform provider for Rollbar
Squasher - Squasher - squash your old migrations in a single command
ruby-style-guide - A community-driven Ruby coding style guide [Moved to: https://github.com/rubocop/ruby-style-guide]
SecondBase - Seamless second database integration for Rails.
faker - A library for generating fake data such as names, addresses, and phone numbers. [Moved to: https://github.com/faker-ruby/faker]
BatchLoader - :zap: Powerful tool for avoiding N+1 DB or HTTP queries
Whenever - Cron jobs in Ruby