Ponytail

Gem Version Build Status Coverage Status Code Climate

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 /ponytail/migrations in your app.

How to work dummy app

$ rake db:migrate:reset
$ cd spec/dummy
$ rails s

Example site

Dummy app is deploying on heroku. However, you can not change the migration files and databases.

http://ponytail.herokuapp.com/

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request