Ponytail
Ponytail is a Rails engine that shows the migrations.
Installation
Add ponytail
to :development
groups in your application's Gemfile:
group :development do
gem 'ponytail'
end
And then execute:
$ bundle
Comment out config.active_record.migration_error
in config/environments/development.rb
.
# Raise an error on page load if there are pending migrations
# config.active_record.migration_error = :page_load
Usage
Visit /rails/migrations
in your app.
How to work dummy app
$ rake db:migrate:reset
$ cd spec/dummy
$ rails s
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request