Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A rails plugin that helps refactoring rails application (2013: sorry, but not supported)

Ruby
branch: master

Bumped up to 0.3

* Use OptionParser
* Added --skip-migration option (for early stages of development)
latest commit 409875d4f9
@hiroshi authored
Failed to load latest commit information.
lib Bumped up to 0.3
script
spec Renamed Util to RenamRefactoring
CHANGELOG Bumped up to 0.3
MIT-LICENSE * separate script/refactor as a file
README
TODO Added CHANGELOG and TODO
init.rb * results of script/generate plugin script-refactor
install.rb * separate script/refactor as a file
uninstall.rb * separate script/refactor as a file

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 'person',
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.
Something went wrong with that request. Please try again.