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
- 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
Credits
Thank you Patrick Crowley and Rob Kaufman who developed Trucker.