activerecord-db-tools

A tool for setting your database to read-only mode allowing you to conduct migrations, move database, or condut other actions that may typically involve taking a database fully offline


License
MIT
Install
gem install activerecord-db-tools -v 0.0.1

Documentation

Install

Then, just add this to your Gemfile:

gem 'activerecord-db-tools'

And run your bundler:

bundle install

Usage

If you want to use it just put in your Gemfile:

gem 'activerecord-db-tools'

Then to turn on set the environment variable:

DB_READ_ONLY=true

Help

You can use issues in github for that.

Copyright

Copyright © 2013 Craig Kerstiens. See LICENSE for details.