A rails plugin that helps refactoring rails application
Ruby
Pull request Compare This branch is 6 commits behind hiroshi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
script
spec
MIT-LICENSE
README
init.rb
install.rb
uninstall.rb

README

script/refactor
===============
This plugin provides a simple script. It helps you refactor rails applications.
Say, you have 'user' resource, and you want to change the name of the resource to 'people',
the script replaces name of files, directories, constants, variables and so forth.

== INSTALL
First of all, if you don't install this via:

  script/plugin install git://github.com/hiroshi/script-refactor.git

You may have no script/refactor. If so, do install.rb by hand:

  ruby vendor/plugins/script-refactor/install.rb

Next, just type:

  script/refactor

You will see the usage and other information of the script.