A command line tool to help refactor your code.
Make sure your code is backed up (e.g. under version control and fully committed) first!
gem install refactor
# Then, from your project (sub)directory:
refactor FROM TOwhere FROM and TO can each be a name that has_underscores, is CamelCased, or has-dashes. It will replace the FROM with the TO in the corresponding format, both in the filenames and the body of the file.