Replicate Rails controllers, models and views like a boss.
$ gem install rails-graft
From the root of your rails project.
$ rails-graft <source> <target>
- 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