Wipe out inconsistent DB and schema.rb when switching branches. To do that, install this gem and use the standard rake db:migrate command.
Use ActiveRecord transactional callbacks outside of models, literally everywhere in your application.
Generic connection pooling for Ruby
Want to use production data for testing, data-anonymization can help you.
Strategies for cleaning databases in Ruby. Can be used to ensure a clean state for testing.
The tool to avoid various issues due to inconsistencies and inefficiencies between a database schema and application models.
The automatic indexer for Postgres
Adds foreign key helpers to migrations and correctly dumps foreign keys to schema.rb
Versioned database functions and triggers for Rails
Happy database triggers for ActiveRecord
Detect non-atomic interactions within DB transactions
Online MySQL schema migrations
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.
Multiple databases for Rails ๐
A performance dashboard for Postgres
ActiveRecord PostgreSQL Partitioning
Postgres partitioning as easy as pie
Sync data from one Postgres database to another
Polo travels through your database and creates sample snapshots so you can work with real world data in development.
Simple PostgreSQL's COPY command support in ActiveRecord models
Rails Database Viewer and SQL Query Runner
Database constraints made easy for ActiveRecord.
Make your PostgreSQL migrations safe
Versioned database views for Rails
SchemaPlus provides a collection of enhancements and extensions to ActiveRecord
Seamless second database integration for Rails.
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.
Rails 4/5 task to dump your data to db/seeds.rb
Advanced seed data handling for Rails, combining the best practices of several methods together.
Rails SQL Views made easy ;)
Read from standby databases for ActiveRecord
Catch unsafe migrations in development
simple database import/export app
Upsert on MySQL, PostgreSQL, and SQLite3. Transparently creates functions (UDF) for MySQL and PostgreSQL; on SQLite3, uses INSERT OR IGNORE.
Advisory locking for ActiveRecord