Description
Database Cleaner is a set of strategies for cleaning your database in Ruby.
The original use case was to ensure a clean state during tests.
Each strategy is a small amount of code but is code that is usually needed in any ruby app that is testing with a database.
Database Cleaner alternatives and similar gems
Based on the "Database Tools" category.
Alternatively, view Database Cleaner alternatives based on common mentions on social networks and blogs.
-
Large Hadron Migrator
Online MySQL schema migrations -
Foreigner
Adds foreign key helpers to migrations and correctly dumps foreign keys to schema.rb -
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. -
Seed Fu
Advanced seed data handling for Rails, combining the best practices of several methods together. -
Squasher
Squasher - squash your old migrations in a single command -
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. -
Active Record Doctor
Identify database issues before they hit production. -
BatchLoader
:zap: Powerful tool for avoiding N+1 DB or HTTP queries -
SchemaPlus
SchemaPlus provides a collection of enhancements and extensions to ActiveRecord -
Polo
Polo travels through your database and creates sample snapshots so you can work with real world data in development. -
Upsert
Upsert on MySQL, PostgreSQL, and SQLite3. Transparently creates functions (UDF) for MySQL and PostgreSQL; on SQLite3, uses INSERT OR IGNORE. -
DatabaseValidations
Database validations for ActiveRecord -
DatabaseConsistency
The tool to find inconsistency between models schema and database constraints. -
SecondBase
Seamless second database integration for Rails. -
OnlineMigrations
Catch unsafe PostgreSQL migrations in development and run them easier in production (code helpers for table/column renaming, changing column type, adding columns with default, background migrations, etc). -
QueryTrack
Find time-consuming database queries for ActiveRecord-based Rails Apps -
Shiba
Catch bad SQL queries before they cause problems in production -
Ruby PG Extras
Ruby PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more. -
PgDriveBackup
Simple solution to make encrypted with ccrypt PostgreSQL backups and storing on Google Drive API -
PgDice
Postgres partitioning built on top of https://github.com/ankane/pgslice -
ActiveRecord Setops
Union, Intersect, and Difference set operations for ActiveRecord (also, SQL's UnionAll). -
Ruby Whatsapp SDK
Use the Ruby Whatsapp SDK to communicate with Whatsapp API using the Cloud API. Create bots to send and receive messages using the Whatsapp SDK in a few minutes. -
ActiveRecord::DataIntegrity
Check data integrity for your ActiveRecord models -
Perfect Shape
Perfect Shape is a collection of geometric algorithms that are mostly useful for GUI manipulation like checking containment of a point in popular geometric shapes such as rectangle, square, arc, circle, polygon, and paths containing lines, quadratic bézier curves, and cubic bezier curves. Also, some general math algorithms like IEEE-754 Remainder. -
SlackHook
A Simple Interface to Slack Incoming Webhooks Integrations -
bundler-download
Bundler plugin for auto-downloading specified extra files after gem install
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Database Cleaner or a related project?