Set up strong migrations to avoid outages by running bad migrations
Used 43 times
T
TobiasBales
Usage
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/zPdsNZ"
Template Source
Review the code before running this template on your machine.
gem 'strong_migrations'
Bundler.with_unbundled_env { run 'bundle install' }
generate 'strong_migrations:install'