Bogie

Gem for migrate legacy data inspired by Trucker

Installation

Add this line to your application's Gemfile:

gem 'bogie'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bogie

Usage

Install essential file and config for Legasy migrate:

$ rails generate bogie:install

Create Legacy class file and rake task with:

$ rails generate bogie:model Post

Use rake to migrate:

$ rake db:migrate:posts

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

Credits

Thank you Patrick Crowley and Rob Kaufman who developed Trucker.