MigrationButton
Rails engine for running migrations via browser.
Installation
Add this line to your application's Gemfile:
gem 'migration_button'And then execute:
$ bundleSet :migration_button in config/environments/development.rb like so:
config.active_record.migration_error = :migration_buttonNow if there are pending migrations you will be presented with the page for running them. You can always visit this page under http://localhost:3000/__migration_button.
Contributing
Clone the repo.
Install the dependencies with:
$ bundleRun the tests with:
$ MIGRATION_BUTTON=1 bundle exec rails test test/*Develop -> commit -> make a pull request 😎
License
The gem is available as open source under the terms of the MIT License.
